]> git.kaiwu.me - nginx.git/commitdiff
fix typo
authorIgor Sysoev <igor@sysoev.ru>
Mon, 13 Sep 2010 12:44:43 +0000 (12:44 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 13 Sep 2010 12:44:43 +0000 (12:44 +0000)
src/http/modules/ngx_http_secure_link_module.c
src/http/ngx_http_script.c
src/http/ngx_http_script.h

index 970eb8e7b76daff7c31212272bb193cbda775d7a..6c4be6191da399cbb4f014dc27ab5ef2f127b173 100644 (file)
@@ -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 },
index 503c0f05838432a71356eca08e8356d80be7ce23..ef69155dbc48b9ed6a259bdd0ec49907d506228c 100644 (file)
@@ -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;
 
index c1288b77a836ee14a25858b0781beb7b9b7e5f73..c5b1e40669468a45105ab8f1a18a9d1cbff7f9c7 100644 (file)
@@ -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);