summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2007-05-18 01:11:00 +0000
committerRay Lai <ray@cvs.openbsd.org>2007-05-18 01:11:00 +0000
commitbf2938df54c7c6de827423e0a072c1745f494d16 (patch)
treefba6537003608e0c61355d7906a19db846457e05
parent4b10f55b4f4bbae0bd6d23da4aabf3b697ad7f60 (diff)
Remove no-op code. From tbert.
OK moritz@ and jaredy@
-rw-r--r--lib/libc/net/getaddrinfo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c
index 5e11ab00c3a..8d92ec955dc 100644
--- a/lib/libc/net/getaddrinfo.c
+++ b/lib/libc/net/getaddrinfo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getaddrinfo.c,v 1.65 2007/05/17 03:55:08 ray Exp $ */
+/* $OpenBSD: getaddrinfo.c,v 1.66 2007/05/18 01:10:59 ray Exp $ */
/* $KAME: getaddrinfo.c,v 1.31 2000/08/31 17:36:43 itojun Exp $ */
/*
@@ -455,8 +455,6 @@ getaddrinfo(const char *hostname, const char *servname,
if (sentinel.ai_next)
error = 0;
- if (error)
- goto free;
if (error == 0) {
if (sentinel.ai_next) {
good: