diff options
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/channels.c b/channels.c index c766cc275..b6bd901f0 100644 --- a/channels.c +++ b/channels.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: channels.c,v 1.272 2008/01/19 23:02:40 djm Exp $ */ | 1 | /* $OpenBSD: channels.c,v 1.273 2008/04/02 21:36:51 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -2906,9 +2906,6 @@ x11_create_display_inet(int x11_display_offset, int x11_use_localhost, | |||
2906 | debug2("bind port %d: %.100s", port, strerror(errno)); | 2906 | debug2("bind port %d: %.100s", port, strerror(errno)); |
2907 | close(sock); | 2907 | close(sock); |
2908 | 2908 | ||
2909 | if (ai->ai_next) | ||
2910 | continue; | ||
2911 | |||
2912 | for (n = 0; n < num_socks; n++) { | 2909 | for (n = 0; n < num_socks; n++) { |
2913 | close(socks[n]); | 2910 | close(socks[n]); |
2914 | } | 2911 | } |