Skip to content

Commit f8ae467

Browse files
committed
bugfix: invalid conf struct name
1 parent 10d045e commit f8ae467

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

filter/ngx_http_zstd_filter_module.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@ static ngx_command_t ngx_http_zstd_filter_commands[] = {
154154
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
155155
ngx_conf_set_size_slot,
156156
NGX_HTTP_LOC_CONF_OFFSET,
157-
offsetof(ngx_http_zstd_conf_t, max_length),
157+
offsetof(ngx_http_zstd_loc_conf_t, max_length),
158158
NULL },
159159

160160
{ ngx_string("zstd_bypass"),
161161
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE,
162162
ngx_http_set_predicate_slot,
163163
NGX_HTTP_LOC_CONF_OFFSET,
164-
offsetof(ngx_http_zstd_conf_t, bypass),
164+
offsetof(ngx_http_zstd_loc_conf_t, bypass),
165165
NULL },
166166

167167
{ ngx_string("zstd_dict_file"),

0 commit comments

Comments
 (0)