Source-Changes-HG archive

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

[src/netbsd-1-5]: src/lib/libc/net Pull up revision 1.47 (requested by itojun):



details:   https://anonhg.NetBSD.org/src/rev/a4cd08f3d954
branches:  netbsd-1-5
changeset: 493133:a4cd08f3d954
user:      he <he%NetBSD.org@localhost>
date:      Wed Jun 26 16:30:27 2002 +0000

description:
Pull up revision 1.47 (requested by itojun):
  Correct usage of DIAGASSERT after recent change.

diffstat:

 lib/libc/net/gethnamaddr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f6d78ac8c9a6 -r a4cd08f3d954 lib/libc/net/gethnamaddr.c
--- a/lib/libc/net/gethnamaddr.c        Wed Jun 26 16:13:43 2002 +0000
+++ b/lib/libc/net/gethnamaddr.c        Wed Jun 26 16:30:27 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gethnamaddr.c,v 1.33.4.2 2002/06/26 16:13:25 he Exp $  */
+/*     $NetBSD: gethnamaddr.c,v 1.33.4.3 2002/06/26 16:30:27 he Exp $  */
 
 /*
  * ++Copyright++ 1985, 1988, 1993
@@ -61,7 +61,7 @@
 static char sccsid[] = "@(#)gethostnamadr.c    8.1 (Berkeley) 6/4/93";
 static char rcsid[] = "Id: gethnamaddr.c,v 8.21 1997/06/01 20:34:37 vixie Exp ";
 #else
-__RCSID("$NetBSD: gethnamaddr.c,v 1.33.4.2 2002/06/26 16:13:25 he Exp $");
+__RCSID("$NetBSD: gethnamaddr.c,v 1.33.4.3 2002/06/26 16:30:27 he Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -992,7 +992,7 @@
 
        _DIAGASSERT(hp != NULL);
        _DIAGASSERT(bpp != NULL);
-       _DIAGASSERT(lenp != NULL);
+       _DIAGASSERT(ep != NULL);
 
        if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ)
                return;



Home | Main Index | Thread Index | Old Index