]> git.kaiwu.me - nginx.git/commitdiff
fix typo
authorIgor Sysoev <igor@sysoev.ru>
Wed, 23 Dec 2009 14:22:17 +0000 (14:22 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 23 Dec 2009 14:22:17 +0000 (14:22 +0000)
src/http/modules/ngx_http_fastcgi_module.c
src/http/modules/ngx_http_memcached_module.c
src/http/modules/ngx_http_proxy_module.c
src/http/ngx_http_upstream.c
src/http/ngx_http_upstream.h

index d7aa9b25984da9b6c4dd79fb253db64258bf130b..710b98db79da9d791475f77edf66b6f7ecbd44e2 100644 (file)
@@ -242,7 +242,7 @@ static ngx_command_t  ngx_http_fastcgi_commands[] = {
 
     { ngx_string("fastcgi_bind"),
       NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
-      ngx_http_upsteam_bind_set_slot,
+      ngx_http_upstream_bind_set_slot,
       NGX_HTTP_LOC_CONF_OFFSET,
       offsetof(ngx_http_fastcgi_loc_conf_t, upstream.local),
       NULL },
index 92052153d0d0bbd12f104f3d1a9725bbe8852d9b..2dae38a4b738d88394463700c255a40e8a917198 100644 (file)
@@ -65,7 +65,7 @@ static ngx_command_t  ngx_http_memcached_commands[] = {
 
     { ngx_string("memcached_bind"),
       NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
-      ngx_http_upsteam_bind_set_slot,
+      ngx_http_upstream_bind_set_slot,
       NGX_HTTP_LOC_CONF_OFFSET,
       offsetof(ngx_http_memcached_loc_conf_t, upstream.local),
       NULL },
index 1fdc279ec665dae4b59493a7676a83e5e0067e51..a7f6e49314e9ce4abd8ea7f8a0bcc6a9c163b4a9 100644 (file)
@@ -231,7 +231,7 @@ static ngx_command_t  ngx_http_proxy_commands[] = {
 
     { ngx_string("proxy_bind"),
       NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
-      ngx_http_upsteam_bind_set_slot,
+      ngx_http_upstream_bind_set_slot,
       NGX_HTTP_LOC_CONF_OFFSET,
       offsetof(ngx_http_proxy_loc_conf_t, upstream.local),
       NULL },
index 9f1a8975357ab9dcbf3f3eb31a4f215193b56d16..35bd35f3ae54c6fd2550ddfcd93904df009833c2 100644 (file)
@@ -4204,7 +4204,7 @@ ngx_http_upstream_add(ngx_conf_t *cf, ngx_url_t *u, ngx_uint_t flags)
 
 
 char *
-ngx_http_upsteam_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
+ngx_http_upstream_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
     void *conf)
 {
     char  *p = conf;
index 09fab00e6f3b650d9218abbdae21075d5d327b89..2534112013544cacf380fa94382b44bb6c28b39e 100644 (file)
@@ -323,7 +323,7 @@ ngx_int_t ngx_http_upstream_create(ngx_http_request_t *r);
 void ngx_http_upstream_init(ngx_http_request_t *r);
 ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf,
     ngx_url_t *u, ngx_uint_t flags);
-char *ngx_http_upsteam_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
+char *ngx_http_upstream_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
     void *conf);
 ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf,
     ngx_http_upstream_conf_t *conf, ngx_http_upstream_conf_t *prev,