diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 21:26:01 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 21:26:01 +0000 |
commit | da85f7f5fc233a10abf3cbcbda547c918b67fb27 (patch) | |
tree | cf196e3f59770ee720b4ad387eee004b4f28f762 /src/http/modules/proxy/ngx_http_proxy_handler.c | |
parent | 9c61095a30ed2b6bf051dacbbbd26ae2769d9e34 (diff) | |
download | nginx-da85f7f5fc233a10abf3cbcbda547c918b67fb27.tar.gz nginx-da85f7f5fc233a10abf3cbcbda547c918b67fb27.zip |
nginx-0.0.3-2004-03-17-00:26:01 import
Diffstat (limited to 'src/http/modules/proxy/ngx_http_proxy_handler.c')
-rw-r--r-- | src/http/modules/proxy/ngx_http_proxy_handler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/modules/proxy/ngx_http_proxy_handler.c b/src/http/modules/proxy/ngx_http_proxy_handler.c index 61fea1c4e..3fc8d0ef4 100644 --- a/src/http/modules/proxy/ngx_http_proxy_handler.c +++ b/src/http/modules/proxy/ngx_http_proxy_handler.c @@ -1073,7 +1073,7 @@ static char *ngx_http_proxy_parse_upstream(ngx_str_t *url, u->default_port = 1; u->port = htons(80); u->port_text.len = 2; - u->port_text.data = "80"; + u->port_text.data = (u_char *) "80"; return NULL; } @@ -1097,14 +1097,14 @@ static char *ngx_http_proxy_parse_upstream(ngx_str_t *url, u->host_header.len = i; - u->uri.data = "/"; + u->uri.data = (u_char *) "/"; u->uri.len = 1; if (u->port_text.data == NULL) { u->default_port = 1; u->port = htons(80); u->port_text.len = 2; - u->port_text.data = "80"; + u->port_text.data = (u_char *) "80"; return NULL; } |