summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_log_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_log_handler.c')
-rw-r--r--src/http/ngx_http_log_handler.c4
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;