summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-07 10:29:43 +0200
committerVolker Lendecke <vl@samba.org>2010-08-07 10:30:20 +0200
commitb03bc8822b5282fa1acd8e3a90b1424656fced4c (patch)
tree8f640f9fdc5aaa863e6349bdaeccebf6de365793 /source3/smbd
parent4c6fd6043b3cf3b395b58037e99b1c2b7334a411 (diff)
downloadsamba-b03bc8822b5282fa1acd8e3a90b1424656fced4c.tar.gz
samba-b03bc8822b5282fa1acd8e3a90b1424656fced4c.tar.bz2
samba-b03bc8822b5282fa1acd8e3a90b1424656fced4c.zip
s3: Remove a pointless "else"
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c4
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)));
}