diff options
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/res_send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_send.c b/resolv/res_send.c index 5a73696e55..7f2e85f324 100644 --- a/resolv/res_send.c +++ b/resolv/res_send.c @@ -441,7 +441,7 @@ __libc_res_nsend(res_state statp, const u_char *buf, int buflen, malloc(sizeof (struct sockaddr_in6)); if (EXT(statp).nsaddrs[n] != NULL) { memset (mempcpy(EXT(statp).nsaddrs[n], - &statp->nsaddr_list[n], + &statp->nsaddr_list[ns], sizeof (struct sockaddr_in)), '\0', sizeof (struct sockaddr_in6) |