Mercurial > hg > nginx
comparison src/http/modules/ngx_http_proxy_module.c @ 1244:99914ee62b48
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 07 Jun 2007 12:20:34 +0000 |
parents | 1666b7b0bafc |
children | 13a4ce6e7f1e d59617e7e6a1 |
comparison
equal
deleted
inserted
replaced
1243:82a8ffe51d11 | 1244:99914ee62b48 |
---|---|
2120 static char * | 2120 static char * |
2121 ngx_http_proxy_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) | 2121 ngx_http_proxy_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) |
2122 { | 2122 { |
2123 ngx_http_proxy_loc_conf_t *plcf = conf; | 2123 ngx_http_proxy_loc_conf_t *plcf = conf; |
2124 | 2124 |
2125 u_char *p; | 2125 u_char *p; |
2126 size_t add; | 2126 size_t add; |
2127 u_short port; | 2127 u_short port; |
2128 ngx_str_t *value, *url; | 2128 ngx_str_t *value, *url; |
2129 ngx_url_t u; | 2129 ngx_url_t u; |
2130 ngx_http_core_loc_conf_t *clcf; | 2130 ngx_http_core_loc_conf_t *clcf; |
2131 #if (NGX_HTTP_SSL) | 2131 #if (NGX_HTTP_SSL) |
2132 ngx_pool_cleanup_t *cln; | 2132 ngx_pool_cleanup_t *cln; |
2133 #endif | 2133 #endif |
2134 | 2134 |
2135 if (plcf->upstream.schema.len) { | 2135 if (plcf->upstream.schema.len) { |
2136 return "is duplicate"; | 2136 return "is duplicate"; |
2137 } | 2137 } |