summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-29 15:30:38 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-29 15:33:47 +0100
commit3ee1acdc8eea0a84131066eaca927dc2ffa238bb (patch)
treefd3a0da0b5d188294f7df42547f1d618fb32c0c8
parent1ea6ed3fc203875b0364e95174569310fe33d1c5 (diff)
downloadsamba-3ee1acdc8eea0a84131066eaca927dc2ffa238bb.tar.gz
samba-3ee1acdc8eea0a84131066eaca927dc2ffa238bb.tar.bz2
samba-3ee1acdc8eea0a84131066eaca927dc2ffa238bb.zip
s3:smbd: ignore open_socket_in() failures
This restores the pre e0232934fbf69a9e72de1d9844b14d70b34a2d6a behavior. metze
-rw-r--r--source3/smbd/server.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 7644cebe69..474c5b2fa5 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -445,7 +445,10 @@ bool smbd_open_one_socket(struct smbd_parent_context *parent,
"%s\n", strerror(errno)));
close(s->fd);
TALLOC_FREE(s);
- return false;
+ /*
+ * We ignore an error here, as we've done before
+ */
+ return true;
}
/* ready to listen */