diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2005-05-02 04:43:32 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2005-05-02 04:43:32 +0000 |
| commit | 943db5a2abbf5b141151aef90394278642afb5bb (patch) | |
| tree | e893dbc86bcfc0bc0e02206b78fc2db215533a05 | |
| parent | 02fe1744f1cde7a863dc27e7e7c256320ee70ef0 (diff) | |
Notes
| -rw-r--r-- | lib/libc/net/getaddrinfo.c | 3 | ||||
| -rw-r--r-- | lib/libc/net/name6.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c index 0265dd673ae0..932048fdadbd 100644 --- a/lib/libc/net/getaddrinfo.c +++ b/lib/libc/net/getaddrinfo.c @@ -781,7 +781,8 @@ set_source(aio, ph) { struct addrinfo ai = *aio->aio_ai; struct sockaddr_storage ss; - int s, srclen; + socklen_t srclen; + int s; /* set unspec ("no source is available"), just in case */ aio->aio_srcsa.sa_family = AF_UNSPEC; diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c index c7978f1cfc00..6dfb663668c3 100644 --- a/lib/libc/net/name6.c +++ b/lib/libc/net/name6.c @@ -954,7 +954,8 @@ set_source(aio, ph) struct policyhead *ph; { struct sockaddr_storage ss = aio->aio_un.aiou_ss; - int s, srclen; + socklen_t srclen; + int s; /* set unspec ("no source is available"), just in case */ aio->aio_srcsa.sa_family = AF_UNSPEC; |
