fixup! Sortix patches
This commit is contained in:
parent
536545d7f7
commit
9d19f98631
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue