Skip to content

Commit

Permalink
Fixed issue found by Dino Korah in April 2011.
Browse files Browse the repository at this point in the history
  • Loading branch information
bji committed Sep 28, 2011
1 parent 523a4b5 commit 73366b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/request.c
Expand Up @@ -523,7 +523,7 @@ static int headerle(const char *header1, const char *header2)
{
while (1) {
if (*header1 == ':') {
return (*header2 == ':');
return (*header2 != ':');
}
else if (*header2 == ':') {
return 0;
Expand Down

0 comments on commit 73366b8

Please sign in to comment.