Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/net int -> socklen_t



details:   https://anonhg.NetBSD.org/src/rev/9b32769558d9
branches:  trunk
changeset: 472605:9b32769558d9
user:      christos <christos%NetBSD.org@localhost>
date:      Mon May 03 15:26:12 1999 +0000

description:
int -> socklen_t

diffstat:

 lib/libc/net/rcmd.c     |  6 +++---
 lib/libc/net/res_send.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r f488f3c4b3b8 -r 9b32769558d9 lib/libc/net/rcmd.c
--- a/lib/libc/net/rcmd.c       Mon May 03 15:23:27 1999 +0000
+++ b/lib/libc/net/rcmd.c       Mon May 03 15:26:12 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rcmd.c,v 1.30 1999/03/16 18:15:13 christos Exp $       */
+/*     $NetBSD: rcmd.c,v 1.31 1999/05/03 15:26:12 christos Exp $       */
 
 /*
  * Copyright (c) 1997 Matthew R. Green.
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)rcmd.c     8.3 (Berkeley) 3/26/94";
 #else
-__RCSID("$NetBSD: rcmd.c,v 1.30 1999/03/16 18:15:13 christos Exp $");
+__RCSID("$NetBSD: rcmd.c,v 1.31 1999/05/03 15:26:12 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -213,7 +213,7 @@
        } else {
                char num[8];
                int s2 = rresvport(&lport), s3;
-               int len = sizeof(from);
+               socklen_t len = sizeof(from);
 
                if (s2 < 0)
                        goto bad;
diff -r f488f3c4b3b8 -r 9b32769558d9 lib/libc/net/res_send.c
--- a/lib/libc/net/res_send.c   Mon May 03 15:23:27 1999 +0000
+++ b/lib/libc/net/res_send.c   Mon May 03 15:26:12 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: res_send.c,v 1.16 1998/11/15 17:40:38 christos Exp $   */
+/*     $NetBSD: res_send.c,v 1.17 1999/05/03 15:26:12 christos Exp $   */
 
 /*-
  * Copyright (c) 1985, 1989, 1993
@@ -59,7 +59,7 @@
 static char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93";
 static char rcsid[] = "Id: res_send.c,v 8.13 1997/06/01 20:34:37 vixie Exp ";
 #else
-__RCSID("$NetBSD: res_send.c,v 1.16 1998/11/15 17:40:38 christos Exp $");
+__RCSID("$NetBSD: res_send.c,v 1.17 1999/05/03 15:26:12 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -500,7 +500,7 @@
                        time_t seconds;
                        struct pollfd dsfd;
                        struct sockaddr_in from;
-                       int fromlen;
+                       socklen_t fromlen;
 
                        if ((s < 0) || vc) {
                                if (vc)



Home | Main Index | Thread Index | Old Index