cvs commit: src/release/picobsd/tinyware/simple_httpd simple_httpd.c
David Malone
dwmalone at FreeBSD.org
Sat Apr 5 07:27:28 PST 2003
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
More information about the cvs-src
mailing list