Skip to content

Commit

Permalink
Correct minor bug in ndk_conf_set_http_complex_value_slot
Browse files Browse the repository at this point in the history
  • Loading branch information
Simpl committed Mar 1, 2011
1 parent 941cb25 commit 2f2eae0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ndk_complex_value.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ ndk_conf_set_http_complex_value_slot (ngx_conf_t *cf, ngx_command_t *cmd, void *

value = cf->args->elts;

cv->value = value[1];

if (ndk_http_complex_value_compile (cf, cv, value))
if (ndk_http_complex_value_compile (cf, cv, value + 1))
return NGX_CONF_ERROR;

if (cmd->post) {
Expand Down

0 comments on commit 2f2eae0

Please sign in to comment.