diff options
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/channels.c b/channels.c index 255280e0b..900ab848f 100644 --- a/channels.c +++ b/channels.c | |||
@@ -2909,9 +2909,6 @@ x11_create_display_inet(int x11_display_offset, int x11_use_localhost, | |||
2909 | debug2("bind port %d: %.100s", port, strerror(errno)); | 2909 | debug2("bind port %d: %.100s", port, strerror(errno)); |
2910 | close(sock); | 2910 | close(sock); |
2911 | 2911 | ||
2912 | if (ai->ai_next) | ||
2913 | continue; | ||
2914 | |||
2915 | for (n = 0; n < num_socks; n++) { | 2912 | for (n = 0; n < num_socks; n++) { |
2916 | close(socks[n]); | 2913 | close(socks[n]); |
2917 | } | 2914 | } |