diff options
author | Serge E. Hallyn <serue@us.ibm.com> | 2006-04-18 08:11:06 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-18 14:39:28 -0700 |
commit | 0032d548db56eac9ea09b4ba05843365f6325b85 (patch) | |
tree | 377f077bd19d5f3cecbf25c018dd9a807ef178dd | |
parent | Merge branch 'jc/pager-cat' (diff) | |
download | tgif-0032d548db56eac9ea09b4ba05843365f6325b85.tar.xz |
socksetup: don't return on set_reuse_addr() error
The set_reuse_addr() error case was the only error case in
socklist() where we returned rather than continued. Not sure
why. Either we must free the socklist, or continue. This patch
continues on error.
Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
-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) { |