[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Mon Mar 1 04:18:35 MST 2010


The branch, master has been updated
       via  747a0b4... s3: Remove unused "mypid" from count_current_connections() state
      from  8448ece... python: Add 'make pylint' convenience rule.

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


- Log -----------------------------------------------------------------
commit 747a0b440f2a7de390a1a58fe7374c77e65643d0
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Mar 1 12:15:41 2010 +0100

    s3: Remove unused "mypid" from count_current_connections() state

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

Summary of changes:
 source3/smbd/connection.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c
index a54dc8d..e2b01d0 100644
--- a/source3/smbd/connection.c
+++ b/source3/smbd/connection.c
@@ -48,7 +48,6 @@ bool yield_connection(connection_struct *conn, const char *name)
 }
 
 struct count_stat {
-	pid_t mypid;
 	int curr_connections;
 	const char *name;
 	bool Clear;
@@ -99,7 +98,6 @@ int count_current_connections( const char *sharename, bool clear  )
 {
 	struct count_stat cs;
 
-	cs.mypid = sys_getpid();
 	cs.curr_connections = 0;
 	cs.name = sharename;
 	cs.Clear = clear;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list