From 9d19f98631d09b2a7e7279885920c4a98cc77b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Thu, 17 Feb 2022 01:09:29 +0200 Subject: [PATCH] fixup! Sortix patches --- af_unix.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/af_unix.c b/af_unix.c index d1c9ef5..8600135 100644 --- a/af_unix.c +++ b/af_unix.c @@ -205,7 +205,6 @@ int bind_to_af_unix(unsigned char *name) #endif EINTRLOOP(rs, bind(s_unix_fd, &s_unix.s, s_unix_l)); if (rs) { -attempt_connect: /*debug("bind: %d, %s", errno, strerror(errno));*/ if (af == PF_INET && errno == EADDRNOTAVAIL) { /* do not try to connect if the user has not configured loopback interface */ @@ -256,7 +255,6 @@ retry_unlink: } EINTRLOOP(rs, listen(s_unix_fd, 100)); if (rs) { - if (errno == EADDRINUSE) goto attempt_connect; error("ERROR: listen failed: %d", errno); close_and_fail: EINTRLOOP(rs, close(s_unix_fd));