aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-06-12 05:54:39 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-06-12 05:54:39 +0000
commit0915977df53c486abbc6081e1c83f9f8e7a8f111 (patch)
tree778b5191eed39b3043798423ccc23708e65f116f /src/http/ngx_http.c
parent239baac646073cab7bbaf537ba2d6ca844f2c992 (diff)
downloadnginx-0915977df53c486abbc6081e1c83f9f8e7a8f111.tar.gz
nginx-0915977df53c486abbc6081e1c83f9f8e7a8f111.zip
nginx-0.0.1-2003-06-12-09:54:39 import
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index 005f230fb..10f002311 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -513,7 +513,8 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
/* prepare for the next cycle */
- (char *) in_port[p].addrs.elts += in_port[p].addrs.size;
+ in_port[p].addrs.elts = (char *) in_port[p].addrs.elts
+ + in_port[p].addrs.size;
in_port[p].addrs.nelts--;
in_addr = (ngx_http_in_addr_t *) in_port[p].addrs.elts;