mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Delete the socket file on the penultimate try in bind_to_af_unix,
restoring the behaviour that was inadvertently lost in CVS revision 1.48.
This commit is contained in:
parent
a7e0fa38cc
commit
4806005c21
@ -393,6 +393,10 @@ bind_to_af_unix(void)
|
||||
report_af_unix_error("bind()", errno);
|
||||
|
||||
++attempts;
|
||||
|
||||
if (attempts == MAX_BIND_TRIES)
|
||||
unlink_unix(s_info_listen.addr);
|
||||
|
||||
if (attempts > MAX_BIND_TRIES)
|
||||
goto free_and_error;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user