diff src/core/ngx_connection.c @ 1220:91ae88fb2500

fix segfault
author Igor Sysoev <igor@sysoev.ru>
date Tue, 29 May 2007 16:33:34 +0000
parents 18268abd340c
children d8d09f731c17
line wrap: on
line diff
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -406,7 +406,7 @@ ngx_configure_listening_socket(ngx_cycle
                 ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_socket_errno,
                               "changing the listen() backlog to %d "
                               "for %V failed, ignored",
-                              &ls[i].addr_text, ls[i].backlog);
+                              ls[i].backlog, &ls[i].addr_text);
             }
         }