diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-07 10:29:43 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-07 10:30:20 +0200 |
commit | b03bc8822b5282fa1acd8e3a90b1424656fced4c (patch) | |
tree | 8f640f9fdc5aaa863e6349bdaeccebf6de365793 /source3 | |
parent | 4c6fd6043b3cf3b395b58037e99b1c2b7334a411 (diff) | |
download | samba-b03bc8822b5282fa1acd8e3a90b1424656fced4c.tar.gz samba-b03bc8822b5282fa1acd8e3a90b1424656fced4c.tar.bz2 samba-b03bc8822b5282fa1acd8e3a90b1424656fced4c.zip |
s3: Remove a pointless "else"
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 82f2f48440..1b7059c2aa 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -439,7 +439,9 @@ static void smbd_accept_connection(struct tevent_context *ev, exit: exit_server_cleanly("end of child"); return; - } else if (pid < 0) { + } + + if (pid < 0) { DEBUG(0,("smbd_accept_connection: sys_fork() failed: %s\n", strerror(errno))); } |