Mercurial > hg > nginx
diff src/http/ngx_http_log_handler.c @ 292:a472bfb778b3
nginx-0.0.3-2004-03-17-00:26:01 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Mar 2004 21:26:01 +0000 |
parents | 87e73f067470 |
children | 5cfd65b8b0a7 |
line wrap: on
line diff
--- 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_co } 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_co name = value[2]; } else { name.len = sizeof("combined") - 1; - name.data = "combined"; + name.data = (u_char *) "combined"; } fmt = lmcf->formats.elts;