Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/net Henning Petersen in PR lib/46561: cosmetic chan...
details: https://anonhg.NetBSD.org/src/rev/7d068dd326b3
branches: trunk
changeset: 779648:7d068dd326b3
user: martin <martin%NetBSD.org@localhost>
date: Fri Jun 08 07:54:14 2012 +0000
description:
Henning Petersen in PR lib/46561: cosmetic change: avoid self assignement.
diffstat:
lib/libc/net/getaddrinfo.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f7cd67d8598a -r 7d068dd326b3 lib/libc/net/getaddrinfo.c
--- a/lib/libc/net/getaddrinfo.c Fri Jun 08 07:53:41 2012 +0000
+++ b/lib/libc/net/getaddrinfo.c Fri Jun 08 07:54:14 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getaddrinfo.c,v 1.100 2012/03/20 12:04:01 kardel Exp $ */
+/* $NetBSD: getaddrinfo.c,v 1.101 2012/06/08 07:54:14 martin Exp $ */
/* $KAME: getaddrinfo.c,v 1.29 2000/08/31 17:26:57 itojun Exp $ */
/*
@@ -55,7 +55,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: getaddrinfo.c,v 1.100 2012/03/20 12:04:01 kardel Exp $");
+__RCSID("$NetBSD: getaddrinfo.c,v 1.101 2012/06/08 07:54:14 martin Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -436,7 +436,7 @@
}
error = get_portmatch(pai, servname, &svd);
if (error)
- ERR(error);
+ goto bad;
*pai = ai0;
}
Home |
Main Index |
Thread Index |
Old Index