disable warning "CLOSE-read", part 2 (fixes #2091)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2685 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.25
Stefan Bühler 14 years ago
parent a81c2a1b02
commit ef28250d23

@ -7,7 +7,7 @@ NEWS
* mod_magnet: fix pairs() for normal tables and strings (fixes #1307)
* mod_magnet: add traceback for printing lua errors
* mod_rewrite: fix compile error if compiled without pcre
* disable warning "CLOSE-read"
* disable warning "CLOSE-read" (fixes #2091)
- 1.4.24 - 2009-10-25
* Add T_CONFIG_INT for bigger integers from the config (needed for #1966)

@ -1623,8 +1623,10 @@ int connection_state_machine(server *srv, connection *con) {
}
if (b > 0) {
char buf[1024];
#if 0
log_error_write(srv, __FILE__, __LINE__, "sdd",
"CLOSE-read()", con->fd, b);
#endif
/* */
read(con->fd, buf, sizeof(buf));

Loading…
Cancel
Save