diff options
Diffstat (limited to 'src/lib/libc/net/res_send.c')
-rw-r--r-- | src/lib/libc/net/res_send.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/net/res_send.c b/src/lib/libc/net/res_send.c index 284f85d7fe..0456dc0cf1 100644 --- a/src/lib/libc/net/res_send.c +++ b/src/lib/libc/net/res_send.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: res_send.c,v 1.5 1997/05/28 21:38:57 deraadt Exp $ */ | 1 | /* $OpenBSD: res_send.c,v 1.6 1997/06/03 22:43:43 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * ++Copyright++ 1985, 1989, 1993 | 4 | * ++Copyright++ 1985, 1989, 1993 |
@@ -60,7 +60,7 @@ | |||
60 | static char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93"; | 60 | static char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93"; |
61 | static char rcsid[] = "$From: res_send.c,v 8.12 1996/10/08 04:51:06 vixie Exp $"; | 61 | static char rcsid[] = "$From: res_send.c,v 8.12 1996/10/08 04:51:06 vixie Exp $"; |
62 | #else | 62 | #else |
63 | static char rcsid[] = "$OpenBSD: res_send.c,v 1.5 1997/05/28 21:38:57 deraadt Exp $"; | 63 | static char rcsid[] = "$OpenBSD: res_send.c,v 1.6 1997/06/03 22:43:43 deraadt Exp $"; |
64 | #endif | 64 | #endif |
65 | #endif /* LIBC_SCCS and not lint */ | 65 | #endif /* LIBC_SCCS and not lint */ |
66 | 66 | ||
@@ -595,7 +595,7 @@ read_len: | |||
595 | timeout.tv_sec = 1; | 595 | timeout.tv_sec = 1; |
596 | timeout.tv_usec = 0; | 596 | timeout.tv_usec = 0; |
597 | wait: | 597 | wait: |
598 | dsmaskp = (fd_set *)malloc(howmany(s, NFDBITS) * | 598 | dsmaskp = (fd_set *)malloc(howmany(s+1, NFDBITS) * |
599 | sizeof(fd_mask)); | 599 | sizeof(fd_mask)); |
600 | if (dsmaskp == NULL) { | 600 | if (dsmaskp == NULL) { |
601 | res_close(); | 601 | res_close(); |