summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-04-24 02:08:28 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-04-24 02:08:28 -0700
commitc6df547a415e4e34165df3d4af40f3eb2cb1cf4f (patch)
tree9b4745618d48b63bbea6ed8d18b233adbafdfdcf
parentMerge branch 'jc/cc-stat' (diff)
parentsocksetup: don't return on set_reuse_addr() error (diff)
downloadtgif-c6df547a415e4e34165df3d4af40f3eb2cb1cf4f.tar.xz
Merge branch 'sh/daemon'
* sh/daemon: socksetup: don't return on set_reuse_addr() error
-rw-r--r--daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index a1ccda30e2..776749e343 100644
--- a/daemon.c
+++ b/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) {