mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 05:33:52 -06:00
const char *fmt in ngx_conf_log_error()
This commit is contained in:
parent
b43c499677
commit
b87fba807e
@ -1006,7 +1006,7 @@ ngx_conf_flush_files(ngx_cycle_t *cycle)
|
||||
|
||||
void ngx_cdecl
|
||||
ngx_conf_log_error(ngx_uint_t level, ngx_conf_t *cf, ngx_err_t err,
|
||||
char *fmt, ...)
|
||||
const char *fmt, ...)
|
||||
{
|
||||
u_char errstr[NGX_MAX_CONF_ERRSTR], *p, *last;
|
||||
va_list args;
|
||||
|
@ -322,7 +322,7 @@ ngx_int_t ngx_conf_full_name(ngx_cycle_t *cycle, ngx_str_t *name,
|
||||
ngx_uint_t conf_prefix);
|
||||
ngx_open_file_t *ngx_conf_open_file(ngx_cycle_t *cycle, ngx_str_t *name);
|
||||
void ngx_cdecl ngx_conf_log_error(ngx_uint_t level, ngx_conf_t *cf,
|
||||
ngx_err_t err, char *fmt, ...);
|
||||
ngx_err_t err, const char *fmt, ...);
|
||||
|
||||
|
||||
char *ngx_conf_set_flag_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
|
||||
|
Loading…
Reference in New Issue
Block a user