disable warning "CLOSE-read"

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2684 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Stefan Bühler 2009-10-26 19:30:40 +00:00
parent c3c58ae9c6
commit a81c2a1b02
2 changed files with 3 additions and 0 deletions

1
NEWS
View File

@ -7,6 +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"
- 1.4.24 - 2009-10-25
* Add T_CONFIG_INT for bigger integers from the config (needed for #1966)

View File

@ -1250,8 +1250,10 @@ static handler_t connection_handle_fdevent(void *s, void *context, int revents)
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));