Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
diff --git a/src/libhttpd/parse.c b/src/libhttpd/parse.c index f03e9c3..a9c5791 100644 --- a/src/libhttpd/parse.c +++ b/src/libhttpd/parse.c
@@ -13,7 +13,7 @@ * tokens */ Word = 1, - QString, + QString }; #define UlongMax 4294967295UL
diff --git a/src/libhttpd/parsereq.c b/src/libhttpd/parsereq.c index 98a8836..ce487c8 100644 --- a/src/libhttpd/parsereq.c +++ b/src/libhttpd/parsereq.c
@@ -152,7 +152,7 @@ /* * 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] == '/'){