[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Sat Aug 7 02:30:39 MDT 2010


The branch, master has been updated
       via  b03bc88... s3: Remove a pointless "else"
      from  4c6fd60... s3: Remove an unnecessary NULL check

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit b03bc8822b5282fa1acd8e3a90b1424656fced4c
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Aug 7 10:29:43 2010 +0200

    s3: Remove a pointless "else"

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/server.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 82f2f48..1b7059c 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)));
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list