diff options
author | Igor Sysoev <igor@sysoev.ru> | 2002-09-02 14:48:24 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2002-09-02 14:48:24 +0000 |
commit | a58e3ca14300fce97b2124233afe140c8d59199f (patch) | |
tree | d24eff379cc7dfb5c6952f1bb15735cd63ba2179 /src/core/ngx_log.c | |
parent | 016b85270268989d769bade2004a7c628a47d726 (diff) | |
download | nginx-a58e3ca14300fce97b2124233afe140c8d59199f.tar.gz nginx-a58e3ca14300fce97b2124233afe140c8d59199f.zip |
nginx-0.0.1-2002-09-02-18:48:24 import
Diffstat (limited to 'src/core/ngx_log.c')
-rw-r--r-- | src/core/ngx_log.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c index bed628aed..6a6835802 100644 --- a/src/core/ngx_log.c +++ b/src/core/ngx_log.c @@ -45,7 +45,11 @@ void ngx_log_error_core(int level, ngx_log_t *log, ngx_err_t err, " [%s] ", err_levels[level]); len += ngx_snprintf(errstr + len, sizeof(errstr) - len - 1, +#if (WIN32) + "%d#%d: ", 0, 0); +#else "%d#%d: ", getpid(), 0); +#endif #if (HAVE_VARIADIC_MACROS) va_start(args, fmt); |