summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2008-03-22 12:28:26 +0000
committerColin Watson <cjwatson@debian.org>2008-03-22 12:28:26 +0000
commit9731e7b8a1865621ca881e86d7f216c7904df460 (patch)
tree3074c1dd93ffb7cb4ff73247dd6e8824da3b7691 /channels.c
parent2b8f1aa7f8f01a018e1141b73c3f60094321b400 (diff)
* Patch from Red Hat / Fedora:
- Don't use X11 forwarding port which can't be bound on all address families (closes: #463011).
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c3
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 }