diff options
author | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
commit | cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch) | |
tree | e0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/libhttpd | |
parent | 226d80b8213821af0cbf092d1507c52b504fd368 (diff) | |
download | plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.gz plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.bz2 plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.zip |
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
Diffstat (limited to 'src/libhttpd')
-rw-r--r-- | src/libhttpd/parse.c | 2 | ||||
-rw-r--r-- | src/libhttpd/parsereq.c | 2 |
2 files changed, 2 insertions, 2 deletions
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] == '/'){ |