Mercurial > hg > nginx
changeset 3761:0a84dc5f5613
fix typo
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 13 Sep 2010 12:44:43 +0000 |
parents | 38f74d11e5bd |
children | 89002ac695e5 |
files | src/http/modules/ngx_http_secure_link_module.c src/http/ngx_http_script.c src/http/ngx_http_script.h |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_secure_link_module.c +++ b/src/http/modules/ngx_http_secure_link_module.c @@ -37,14 +37,14 @@ static ngx_command_t ngx_http_secure_li { 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 },
--- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c @@ -212,7 +212,7 @@ ngx_http_compile_complex_value(ngx_http_ 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;
--- a/src/http/ngx_http_script.h +++ b/src/http/ngx_http_script.h @@ -207,7 +207,7 @@ void ngx_http_script_flush_complex_value 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);