Mercurial > hg > nginx
diff src/core/ngx_log.c @ 493:975f62e77f02 release-0.1.21
nginx-0.1.21-RELEASE import
*) Bugfix: the ngx_http_stub_status_module showed incorrect statistics
if "rtsig" method was used or if several worker process ran on SMP.
*) Bugfix: nginx could not be built by the icc compiler on Linux or if
the zlib-1.2.x library was building from sources.
*) Bugfix: nginx could not be built on NetBSD 2.0.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 22 Feb 2005 14:40:13 +0000 |
parents | 621229427cba |
children | 64d9afb209da |
line wrap: on
line diff
--- a/src/core/ngx_log.c +++ b/src/core/ngx_log.c @@ -87,15 +87,9 @@ void ngx_log_error_core(ngx_uint_t level p = ngx_sprintf(p, "%P#" NGX_TID_T_FMT ": ", ngx_log_pid, ngx_log_tid); if (log->connection) { - p = ngx_sprintf(p, "*%ui ", log->connection); + p = ngx_sprintf(p, "*%uA ", log->connection); } -#if 0 - if (log->data && *(int *) log->data != -1) { - p = ngx_sprintf(p, "*%ud ", *(u_int *) log->data); - } -#endif - #if (NGX_HAVE_VARIADIC_MACROS) va_start(args, fmt);