comparison src/core/ngx_log.c @ 653:7ea1bba9a4f6 NGINX_0_9_3

nginx 0.9.3 *) Bugfix: if there was a single server for given IPv6 address:port pair, then captures in regular expressions in a "server_name" directive did not work. *) Bugfix: nginx could not be built on Solaris; the bug had appeared in 0.9.0.
author Igor Sysoev <http://sysoev.ru>
date Mon, 13 Dec 2010 00:00:00 +0300
parents 428c6e58046a
children 8214eaef3530
comparison
equal deleted inserted replaced
652:f6fa6099ee59 653:7ea1bba9a4f6
146 || log->file->fd == ngx_stderr) 146 || log->file->fd == ngx_stderr)
147 { 147 {
148 return; 148 return;
149 } 149 }
150 150
151 msg -= (7 + err_levels[level].len + 4); 151 msg -= (7 + err_levels[level].len + 3);
152 152
153 (void) ngx_sprintf(msg, "nginx: [%V]: ", &err_levels[level]); 153 (void) ngx_sprintf(msg, "nginx: [%V] ", &err_levels[level]);
154 154
155 (void) ngx_write_console(ngx_stderr, msg, p - msg); 155 (void) ngx_write_console(ngx_stderr, msg, p - msg);
156 } 156 }
157 157
158 158