diff options
author | Stefan Bühler <stbuehler@web.de> | 2009-10-26 19:30:40 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2009-10-26 19:30:40 +0000 |
commit | a81c2a1b029f4591d995ea386adbd5f1f7ea7313 (patch) | |
tree | 130fda0c47a65d8ab6d5716a57b3d220bd97f5c9 | |
parent | c3c58ae9c62a08df29cf1bf3d37d3e8028db6dd0 (diff) | |
download | lighttpd-git-a81c2a1b029f4591d995ea386adbd5f1f7ea7313.tar.gz |
disable warning "CLOSE-read"
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2684 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/connections.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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) diff --git a/src/connections.c b/src/connections.c index daec12a6..95d8b200 100644 --- a/src/connections.c +++ b/src/connections.c @@ -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)); |