summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/res_send.c
diff options
context:
space:
mode:
authorderaadt <>2002-09-06 18:35:12 +0000
committerderaadt <>2002-09-06 18:35:12 +0000
commit103759ac88a6c48f6280dfdd527d3465b4d686f7 (patch)
tree8b884469332b76c241f4eedb742debb0497503eb /src/lib/libc/net/res_send.c
parent154dc21ed42de3fb550aa3c54823498ea9aa644a (diff)
downloadopenbsd-103759ac88a6c48f6280dfdd527d3465b4d686f7.tar.gz
openbsd-103759ac88a6c48f6280dfdd527d3465b4d686f7.tar.bz2
openbsd-103759ac88a6c48f6280dfdd527d3465b4d686f7.zip
use socklen_t where needed; henning pvalchev ok
Diffstat (limited to 'src/lib/libc/net/res_send.c')
-rw-r--r--src/lib/libc/net/res_send.c6
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 81bf23ba9f..b043e7c9fb 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.11 2002/02/16 21:27:23 millert Exp $ */ 1/* $OpenBSD: res_send.c,v 1.12 2002/09/06 18:35:12 deraadt Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1989, 1993 4 * ++Copyright++ 1985, 1989, 1993
@@ -64,7 +64,7 @@
64static char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93"; 64static char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93";
65static char rcsid[] = "$From: res_send.c,v 8.12 1996/10/08 04:51:06 vixie Exp $"; 65static char rcsid[] = "$From: res_send.c,v 8.12 1996/10/08 04:51:06 vixie Exp $";
66#else 66#else
67static char rcsid[] = "$OpenBSD: res_send.c,v 1.11 2002/02/16 21:27:23 millert Exp $"; 67static char rcsid[] = "$OpenBSD: res_send.c,v 1.12 2002/09/06 18:35:12 deraadt Exp $";
68#endif 68#endif
69#endif /* LIBC_SCCS and not lint */ 69#endif /* LIBC_SCCS and not lint */
70 70
@@ -579,7 +579,7 @@ read_len:
579 struct timeval timeout; 579 struct timeval timeout;
580 fd_set *dsmaskp; 580 fd_set *dsmaskp;
581 struct sockaddr_storage from; 581 struct sockaddr_storage from;
582 int fromlen; 582 socklen_t fromlen;
583 583
584 if ((s < 0) || vc || (af != nsap->sa_family)) { 584 if ((s < 0) || vc || (af != nsap->sa_family)) {
585 if (vc) 585 if (vc)