From cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 1 Apr 2006 19:24:03 +0000 Subject: Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. --- src/libhttpd/parse.c | 2 +- src/libhttpd/parsereq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libhttpd') diff --git a/src/libhttpd/parse.c b/src/libhttpd/parse.c index f03e9c32..a9c57913 100644 --- a/src/libhttpd/parse.c +++ b/src/libhttpd/parse.c @@ -13,7 +13,7 @@ enum * tokens */ Word = 1, - QString, + QString }; #define UlongMax 4294967295UL diff --git a/src/libhttpd/parsereq.c b/src/libhttpd/parsereq.c index 98a88369..ce487c80 100644 --- a/src/libhttpd/parsereq.c +++ b/src/libhttpd/parsereq.c @@ -152,7 +152,7 @@ parseuri(HConnect *c, char *uri) /* * anything starting with // is a host name or number - * hostnames constists of letters, digits, - and . + * hostnames consists of letters, digits, - and . * for now, just ignore any port given */ if(uri[0] == '/' && uri[1] == '/'){ -- cgit v1.2.3