mirror of
https://github.com/git/git.git
synced 2024-11-17 22:44:49 +01:00
Merge branch 'sh/daemon' into next
* sh/daemon: socksetup: don't return on set_reuse_addr() error
This commit is contained in:
commit
4935e0553f
1 changed files with 1 additions and 1 deletions
2
daemon.c
2
daemon.c
|
@ -535,7 +535,7 @@ static int socksetup(int port, int **socklist_p)
|
|||
|
||||
if (set_reuse_addr(sockfd)) {
|
||||
close(sockfd);
|
||||
return 0; /* not fatal */
|
||||
continue;
|
||||
}
|
||||
|
||||
if (bind(sockfd, ai->ai_addr, ai->ai_addrlen) < 0) {
|
||||
|
|
Loading…
Reference in a new issue