diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-08-21 23:24:07 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-08-21 23:24:07 +0400 |
commit | c5849a6381a918a5606db2bdba8c670e34c46dbb (patch) | |
tree | 0141e389ad48610a1826e0ebde144498838b1a7f /src/core/ngx_inet.h | |
parent | 6a75019ad6847a5bf8c0dcd1f0ad87ed715add7e (diff) |
ngx_sock_ntop() takes family from sockaddr, remove duplicate field
Diffstat (limited to 'src/core/ngx_inet.h')
-rw-r--r-- | src/core/ngx_inet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_inet.h b/src/core/ngx_inet.h index 95ba30ba7..cbff8fd43 100644 --- a/src/core/ngx_inet.h +++ b/src/core/ngx_inet.h @@ -63,7 +63,7 @@ typedef struct { in_addr_t ngx_inet_addr(u_char *text, size_t len); -size_t ngx_sock_ntop(int family, struct sockaddr *sa, u_char *text, size_t len); +size_t ngx_sock_ntop(struct sockaddr *sa, u_char *text, size_t len); size_t ngx_inet_ntop(int family, void *addr, u_char *text, size_t len); ngx_int_t ngx_ptocidr(ngx_str_t *text, void *cidr); ngx_int_t ngx_parse_url(ngx_pool_t *pool, ngx_url_t *u); |