fix typo
diff --git a/src/http/modules/ngx_http_secure_link_module.c b/src/http/modules/ngx_http_secure_link_module.c index 970eb8e..6c4be61 100644 --- a/src/http/modules/ngx_http_secure_link_module.c +++ b/src/http/modules/ngx_http_secure_link_module.c
@@ -37,14 +37,14 @@ { ngx_string("secure_link"), NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, - ngx_http_set_comlex_value_slot, + ngx_http_set_complex_value_slot, NGX_HTTP_LOC_CONF_OFFSET, offsetof(ngx_http_secure_link_conf_t, variable), NULL }, { ngx_string("secure_link_md5"), NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, - ngx_http_set_comlex_value_slot, + ngx_http_set_complex_value_slot, NGX_HTTP_LOC_CONF_OFFSET, offsetof(ngx_http_secure_link_conf_t, md5), NULL },
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c index 503c0f0..ef69155 100644 --- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c
@@ -212,7 +212,7 @@ char * -ngx_http_set_comlex_value_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) +ngx_http_set_complex_value_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) { char *p = conf;
diff --git a/src/http/ngx_http_script.h b/src/http/ngx_http_script.h index c1288b7..c5b1e40 100644 --- a/src/http/ngx_http_script.h +++ b/src/http/ngx_http_script.h
@@ -207,7 +207,7 @@ ngx_int_t ngx_http_complex_value(ngx_http_request_t *r, ngx_http_complex_value_t *val, ngx_str_t *value); ngx_int_t ngx_http_compile_complex_value(ngx_http_compile_complex_value_t *ccv); -char * ngx_http_set_comlex_value_slot(ngx_conf_t *cf, ngx_command_t *cmd, +char *ngx_http_set_complex_value_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);