Skip to content

Commit

Permalink
minor improvement [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
lyokha committed Sep 5, 2018
1 parent 3cdb671 commit cfb86a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_http_haskell_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ ngx_http_haskell_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
prev_cv_elts = prev->code_vars.elts;
for (i = 0; i < prev_nelts; i++) {
cv_elts[i] = prev_cv_elts[i];
index = cv_elts[i].index;
if (cv_elts[i].async) {
index = cv_elts[i].index;
for (j = prev_nelts; j < nelts; j++) {
if (index == cv_elts[j].index && cv_elts[j].async) {
cv_elts[i].handler = cv_elts[j].handler;
Expand Down

0 comments on commit cfb86a0

Please sign in to comment.