diff options
author | Junio C Hamano <junkio@cox.net> | 2006-04-24 02:08:28 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-24 02:08:28 -0700 |
commit | c6df547a415e4e34165df3d4af40f3eb2cb1cf4f (patch) | |
tree | 9b4745618d48b63bbea6ed8d18b233adbafdfdcf | |
parent | Merge branch 'jc/cc-stat' (diff) | |
parent | socksetup: don't return on set_reuse_addr() error (diff) | |
download | tgif-c6df547a415e4e34165df3d4af40f3eb2cb1cf4f.tar.xz |
Merge branch 'sh/daemon'
* sh/daemon:
socksetup: don't return on set_reuse_addr() error
-rw-r--r-- | daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |