Mercurial > hg > nginx
comparison src/http/modules/proxy/ngx_http_proxy_handler.c @ 291:117ccc7c4055
nginx-0.0.3-2004-03-16-16:35:20 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Mar 2004 13:35:20 +0000 |
parents | 87e73f067470 |
children | a472bfb778b3 |
comparison
equal
deleted
inserted
replaced
290:87e73f067470 | 291:117ccc7c4055 |
---|---|
982 ngx_test_null(lcf->peers->peers[i].addr_port_text.data, | 982 ngx_test_null(lcf->peers->peers[i].addr_port_text.data, |
983 ngx_palloc(cf->pool, len), | 983 ngx_palloc(cf->pool, len), |
984 NGX_CONF_ERROR); | 984 NGX_CONF_ERROR); |
985 | 985 |
986 len = ngx_inet_ntop(AF_INET, | 986 len = ngx_inet_ntop(AF_INET, |
987 (u_char *) &lcf->peers->peers[i].addr, | 987 &lcf->peers->peers[i].addr, |
988 lcf->peers->peers[i].addr_port_text.data, | 988 lcf->peers->peers[i].addr_port_text.data, |
989 len); | 989 len); |
990 | 990 |
991 lcf->peers->peers[i].addr_port_text.data[len++] = ':'; | 991 lcf->peers->peers[i].addr_port_text.data[len++] = ':'; |
992 | 992 |