diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 21:26:01 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 21:26:01 +0000 |
| commit | da85f7f5fc233a10abf3cbcbda547c918b67fb27 (patch) | |
| tree | cf196e3f59770ee720b4ad387eee004b4f28f762 /src/http/ngx_http_log_handler.c | |
| parent | 9c61095a30ed2b6bf051dacbbbd26ae2769d9e34 (diff) | |
| download | nginx-da85f7f5fc233a10abf3cbcbda547c918b67fb27.tar.gz nginx-da85f7f5fc233a10abf3cbcbda547c918b67fb27.tar.bz2 | |
nginx-0.0.3-2004-03-17-00:26:01 import
Diffstat (limited to 'src/http/ngx_http_log_handler.c')
| -rw-r--r-- | src/http/ngx_http_log_handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_log_handler.c b/src/http/ngx_http_log_handler.c index c46b119f5..3edb55b54 100644 --- a/src/http/ngx_http_log_handler.c +++ b/src/http/ngx_http_log_handler.c @@ -597,7 +597,7 @@ static void *ngx_http_log_create_main_conf(ngx_conf_t *cf) } value->len = sizeof("combined") - 1; - value->data = "combined"; + value->data = (u_char *) "combined"; if (!(value = ngx_push_array(cf->args))) { return NGX_CONF_ERROR; @@ -699,7 +699,7 @@ static char *ngx_http_log_set_log(ngx_conf_t *cf, ngx_command_t *cmd, name = value[2]; } else { name.len = sizeof("combined") - 1; - name.data = "combined"; + name.data = (u_char *) "combined"; } fmt = lmcf->formats.elts; |
