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));