From ec380c4565e0027fff5b2c1f72735c8295fab693 Mon Sep 17 00:00:00 2001 From: Karl Heyes Date: Wed, 18 Jun 2003 15:52:25 +0000 Subject: [PATCH] ermmm, let's use the right operator. svn path=/trunk/httpp/; revision=4963 --- httpp/httpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpp/httpp.c b/httpp/httpp.c index ce454e9..d445df5 100644 --- a/httpp/httpp.c +++ b/httpp/httpp.c @@ -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;