]> git.kaiwu.me - nginx.git/commitdiff
axe old unused alert message
authorIgor Sysoev <igor@sysoev.ru>
Sat, 1 Dec 2007 20:31:59 +0000 (20:31 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Sat, 1 Dec 2007 20:31:59 +0000 (20:31 +0000)
src/os/unix/ngx_recv.c

index 0342a99ec18daf6d1289e84861fa35e909c035e0..6361b3ce02007fe9e1d9aefeee1e91011b56a7aa 100644 (file)
@@ -78,12 +78,6 @@ ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size)
                      * even if kqueue reported about available data
                      */
 
-#if 0
-                    ngx_log_error(NGX_LOG_ALERT, c->log, 0,
-                                  "recv() returned 0 while kevent() reported "
-                                  "%d available bytes", rev->available);
-#endif
-
                     rev->eof = 1;
                     rev->available = 0;
                 }