aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-18 07:47:58 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-05-18 07:47:58 +0000
commit868d805c8b9011aa9b2e1d8182a41b6b8c804ac8 (patch)
treef06df17d9b9580f041e2607eacba98e822c7167b /src/http/ngx_http_request.c
parent1daaa008fbb1654bce61fa8746a57457fa58e1d4 (diff)
downloadnginx-868d805c8b9011aa9b2e1d8182a41b6b8c804ac8.tar.gz
nginx-868d805c8b9011aa9b2e1d8182a41b6b8c804ac8.zip
delete unneeded cast
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 32f120c8e..39bf57ee2 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -321,7 +321,7 @@ ngx_http_init_request(ngx_event_t *rev)
case AF_INET6:
sin6 = (struct sockaddr_in6 *) c->local_sockaddr;
- addr6 = (ngx_http_in6_addr_t *) port->addrs;
+ addr6 = port->addrs;
/* the last address is "*" */
@@ -360,7 +360,7 @@ ngx_http_init_request(ngx_event_t *rev)
#if (NGX_HAVE_INET6)
case AF_INET6:
- addr6 = (ngx_http_in6_addr_t *) port->addrs;
+ addr6 = port->addrs;
addr_conf = &addr6[0].conf;
break;
#endif