Skip to content

Commit 1e940a7

Browse files
committed
Merge format_values
1 parent 69b44b5 commit 1e940a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ngx_http_tnt_module.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,10 @@ ngx_http_tnt_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
886886
conf->allowed_indexes = prev->allowed_indexes;
887887
}
888888

889+
if (conf->format_values == NULL) {
890+
conf->format_values = prev->format_values;
891+
}
892+
889893
return NGX_CONF_OK;
890894
}
891895

0 commit comments

Comments
 (0)