Mercurial > hg > nginx
changeset 2853:2e2ae6077ae8
delete unneeded cast
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 18 May 2009 07:47:58 +0000 |
parents | dfe04af9d30b |
children | d788477f5a67 |
files | src/http/ngx_http_request.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c Sun May 17 20:13:29 2009 +0000 +++ b/src/http/ngx_http_request.c Mon May 18 07:47:58 2009 +0000 @@ -321,7 +321,7 @@ 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 @@ #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