Mercurial > hg > nginx
comparison src/os/win32/ngx_errno.c @ 2638:a3f062177dba stable-0.6
r2336, r2337, r2339, r2390 merge:
bugfixes in error logging:
*) ngx_strerror_r() style and size == 0 bug fix
*) increase ngx_conf_log_error() buffer
*) always log an error code
*) fix segfault on close error
*) compact win32 errno logging
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 01 Apr 2009 15:47:12 +0000 |
parents | 8e8f3af115b5 |
children | 58399dcc410a |
comparison
equal
deleted
inserted
replaced
2637:8e4450668968 | 2638:a3f062177dba |
---|---|
89 ngx_string("No connection could be made because the target machine " | 89 ngx_string("No connection could be made because the target machine " |
90 "actively refused it") | 90 "actively refused it") |
91 }; | 91 }; |
92 | 92 |
93 | 93 |
94 u_char *ngx_strerror_r(ngx_err_t err, u_char *errstr, size_t size) | 94 u_char * |
95 ngx_strerror_r(ngx_err_t err, u_char *errstr, size_t size) | |
95 { | 96 { |
96 int n; | 97 int n; |
97 u_int len; | 98 u_int len; |
98 ngx_err_t format_error; | 99 ngx_err_t format_error; |
99 | 100 |