nginx-0.0.1-2003-01-28-18:56:37 import
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c
index 67a2542..e112001 100644
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -375,11 +375,11 @@
{
ngx_str_t *field, *value;
- field = (ngx_str_t *) conf + cmd->offset;
+ field = (ngx_str_t *) (conf + cmd->offset);
value = (ngx_str_t *) cf->args->elts;
- field->len = value->len;
- field->data = value->data;
+ field->len = value[1].len;
+ field->data = value[1].data;
return NGX_CONF_OK;
}