diff options
-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)); |