Klaus Demo nginx / 0c39c27
fix building by msvc8 introduced by the previous commit Igor Sysoev 11 years ago
1 changed file(s) with 5 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
6868 return;
6969 }
7070
71 #if (NGX_HAVE_ACCEPT4)
7172 ngx_log_error((ngx_uint_t) ((err == NGX_ECONNABORTED) ?
7273 NGX_LOG_ERR : NGX_LOG_ALERT),
7374 ev->log, err,
74 #if !(NGX_HAVE_ACCEPT4)
75 "accept() failed");
76 #else
7775 use_accept4 ? "accept4() failed" : "accept() failed");
7876
7977 if (use_accept4 && err == NGX_ENOSYS) {
8179 ngx_inherited_nonblocking = 0;
8280 continue;
8381 }
82 #else
83 ngx_log_error((ngx_uint_t) ((err == NGX_ECONNABORTED) ?
84 NGX_LOG_ERR : NGX_LOG_ALERT),
85 ev->log, err, "accept() failed");
8486 #endif
8587
8688 if (err == NGX_ECONNABORTED) {