diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-02-12 09:45:05 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-02-12 09:45:05 +0000 |
commit | b87fba807e8cfafc11e5f63fcc004375b5d59853 (patch) | |
tree | 3d1a53428dd9818acee41f8dd1fdd1a9777bf7d3 /src | |
parent | b43c499677727e0078fc515271034362d38ef9ac (diff) | |
download | nginx-b87fba807e8cfafc11e5f63fcc004375b5d59853.tar.gz nginx-b87fba807e8cfafc11e5f63fcc004375b5d59853.zip |
const char *fmt in ngx_conf_log_error()
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ngx_conf_file.c | 2 | ||||
-rw-r--r-- | src/core/ngx_conf_file.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c index c48d814f8..6d5f510ee 100644 --- a/src/core/ngx_conf_file.c +++ b/src/core/ngx_conf_file.c @@ -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; diff --git a/src/core/ngx_conf_file.h b/src/core/ngx_conf_file.h index 763de44dd..86c60a43c 100644 --- a/src/core/ngx_conf_file.h +++ b/src/core/ngx_conf_file.h @@ -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); |