diff src/event/ngx_event_accept.c @ 477:ad1e9ebf93bb release-0.1.13

nginx-0.1.13-RELEASE import *) Feature: the server_names_hash and server_names_hash_threshold directives. *) Bugfix: the *.domain.tld names in the "server_name" directive did not work. *) Bugfix: the %request_length log parameter logged the incorrect length.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 21 Dec 2004 12:30:30 +0000
parents a88a3e4e158f
children c52408583801
line wrap: on
line diff
--- a/src/event/ngx_event_accept.c
+++ b/src/event/ngx_event_accept.c
@@ -96,6 +96,7 @@ void ngx_event_accept(ngx_event_t *ev)
         len = ls->listening->socklen;
 
         s = accept(ls->fd, sa, &len);
+
         if (s == -1) {
             err = ngx_socket_errno;