diff options
author | Volker Lendecke <vl@samba.org> | 2009-02-14 13:43:09 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-02-21 12:54:06 +0100 |
commit | 5a5af073bbc4a1bcb78cded8b45c646feeeb5d0d (patch) | |
tree | ff1070b1622ce6ea9c8d49e5e4288320cd7d38f1 /source3 | |
parent | 3305780e5d5d10a35e116f43efe47b8a94a9d3fd (diff) | |
download | samba-5a5af073bbc4a1bcb78cded8b45c646feeeb5d0d.tar.gz samba-5a5af073bbc4a1bcb78cded8b45c646feeeb5d0d.tar.bz2 samba-5a5af073bbc4a1bcb78cded8b45c646feeeb5d0d.zip |
Do not close an fd we know is -1
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/server.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 28ce80b6c8..49995d8901 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -447,7 +447,6 @@ static bool smbd_open_one_socket(struct smbd_parent_context *parent, if (s->fd == -1) { DEBUG(0,("smbd_open_once_socket: open_socket_in: " "%s\n", strerror(errno))); - close(s->fd); TALLOC_FREE(s); /* * We ignore an error here, as we've done before |