add variadic macros support for msvc8

This commit is contained in:
Igor Sysoev 2009-04-19 16:25:02 +00:00
parent 1153aa6465
commit 694bdea2a9
2 changed files with 8 additions and 2 deletions

View file

@ -57,8 +57,8 @@ ngx_event_accept(ngx_event_t *ev)
return;
}
ngx_log_error((err == NGX_ECONNABORTED) ? NGX_LOG_ERR:
NGX_LOG_ALERT,
ngx_log_error((ngx_uint_t) ((err == NGX_ECONNABORTED) ?
NGX_LOG_ERR : NGX_LOG_ALERT),
ev->log, err, "accept() failed");
if (err == NGX_ECONNABORTED) {