Skip to content

Commit

Permalink
Do a case-insensitive compare.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 30, 2008
1 parent 03a7b2e commit 2c7d5ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nph-offload.c
Expand Up @@ -846,7 +846,7 @@ static void readHeaders(const int fd, list **headers)
else
{
listSet(headers, "response", buf);
if (strncmp(buf, "HTTP/", 5) == 0)
if (strncasecmp(buf, "HTTP/", 5) == 0)
{
ptr = strchr(buf + 5, ' ');
if (ptr != NULL)
Expand Down

0 comments on commit 2c7d5ea

Please sign in to comment.