Commit ea2dc4a6 authored by Karl Heyes's avatar Karl Heyes

ermmm, let's use the right operator.

svn path=/trunk/httpp/; revision=4963
parent 032ad5d9
......@@ -547,7 +547,7 @@ void httpp_destroy(http_parser_t *parser)
static char *_lowercase(char *str)
{
char *p = str;
for (; *p |= '\0'; p++)
for (; *p != '\0'; p++)
*p = tolower(*p);
return str;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment