comparison src/core/ngx_conf_file.c @ 3449:151ab752a782

const char *fmt in ngx_conf_log_error()
author Igor Sysoev <igor@sysoev.ru>
date Fri, 12 Feb 2010 09:45:05 +0000
parents f63865460aa6
children dd1570b6f237
comparison
equal deleted inserted replaced
3448:54e7c85ed4b4 3449:151ab752a782
1004 } 1004 }
1005 1005
1006 1006
1007 void ngx_cdecl 1007 void ngx_cdecl
1008 ngx_conf_log_error(ngx_uint_t level, ngx_conf_t *cf, ngx_err_t err, 1008 ngx_conf_log_error(ngx_uint_t level, ngx_conf_t *cf, ngx_err_t err,
1009 char *fmt, ...) 1009 const char *fmt, ...)
1010 { 1010 {
1011 u_char errstr[NGX_MAX_CONF_ERRSTR], *p, *last; 1011 u_char errstr[NGX_MAX_CONF_ERRSTR], *p, *last;
1012 va_list args; 1012 va_list args;
1013 1013
1014 last = errstr + NGX_MAX_CONF_ERRSTR; 1014 last = errstr + NGX_MAX_CONF_ERRSTR;