Browse Source

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 12 years ago
parent
commit
ef28250d23
  1. 2
      NEWS
  2. 2
      src/connections.c

2
NEWS

@ -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)

2
src/connections.c

@ -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