Date: Sat, 5 Apr 2003 07:27:27 -0800 (PST) From: David Malone <dwmalone@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/release/picobsd/tinyware/simple_httpd simple_httpd.c Message-ID: <200304051527.h35FRRnQ079019@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dwmalone 2003/04/05 07:27:27 PST
FreeBSD src repository
Modified files:
release/picobsd/tinyware/simple_httpd simple_httpd.c
Log:
More warns cleanups and misc cleanups:
1) Make fetch_mode a pointer 'cos we can just use the optarg.
2) Constness.
3) Add/complete prototypes.
4) Change an int to a socklen_t.
5) Don't use C++ style comments.
6) Check return values from read and fork a little more carefully.
7) Avoid closing an uninitialised int.
8) Get rid of unneeded extern declarations.
Revision Changes Path
1.14 +31 -25 src/release/picobsd/tinyware/simple_httpd/simple_httpd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304051527.h35FRRnQ079019>
