aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-09-13 12:44:43 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-09-13 12:44:43 +0000
commit9a62648f7bece8e192085330a6409db7e9580ffa (patch)
tree3536f74026111d464926fa207b5eba601b3eb0ea /src
parent12f4da469593eaf859502a24ed2af57d006b7d6e (diff)
downloadnginx-9a62648f7bece8e192085330a6409db7e9580ffa.tar.gz
nginx-9a62648f7bece8e192085330a6409db7e9580ffa.zip
fix typo
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_secure_link_module.c4
-rw-r--r--src/http/ngx_http_script.c2
-rw-r--r--src/http/ngx_http_script.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/http/modules/ngx_http_secure_link_module.c b/src/http/modules/ngx_http_secure_link_module.c
index 970eb8e7b..6c4be6191 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 @@ static ngx_command_t ngx_http_secure_link_commands[] = {
{ 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 503c0f058..ef69155db 100644
--- 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_compile_complex_value_t *ccv)
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 c1288b77a..c5b1e4066 100644
--- 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_http_request_t *r,
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);