diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c index b640826e7..9e09f2d13 100644 --- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c @@ -32,7 +32,7 @@ static uintptr_t ngx_http_script_exit_code = (uintptr_t) NULL; void -ngx_http_scrip_flush_complex_value(ngx_http_request_t *r, +ngx_http_script_flush_complex_value(ngx_http_request_t *r, ngx_http_complex_value_t *val) { ngx_uint_t *index; @@ -67,7 +67,7 @@ ngx_http_complex_value(ngx_http_request_t *r, ngx_http_complex_value_t *val, return NGX_OK; } - ngx_http_scrip_flush_complex_value(r, val); + ngx_http_script_flush_complex_value(r, val); ngx_memzero(&e, sizeof(ngx_http_script_engine_t)); diff --git a/src/http/ngx_http_script.h b/src/http/ngx_http_script.h index 7f36ce547..d5a50b915 100644 --- a/src/http/ngx_http_script.h +++ b/src/http/ngx_http_script.h @@ -203,7 +203,7 @@ typedef struct { } ngx_http_script_value_code_t; -void ngx_http_scrip_flush_complex_value(ngx_http_request_t *r, +void ngx_http_script_flush_complex_value(ngx_http_request_t *r, ngx_http_complex_value_t *val); ngx_int_t ngx_http_complex_value(ngx_http_request_t *r, ngx_http_complex_value_t *val, ngx_str_t *value);