Permalink
Browse files

initialize some forgotten vars

  • Loading branch information...
1 parent ff87b0b commit b276ad464c48ac5bf94919245c4b720c2814ccfe @replay committed Jun 21, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 ngx_http_lower_upper_case.c
@@ -125,6 +125,9 @@ ngx_http_lower_upper_directive(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
return NGX_CONF_ERROR;
}
+ lucase->src_lengths = NULL;
+ lucase->src_values = NULL;
+
variable = cf->args->elts;
if (variable[1].data[0] != '$') {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "invalid variable name \"%V\"", variable[1]);

0 comments on commit b276ad4

Please sign in to comment.