svn commit: samba r23813 - in branches: SAMBA_3_2/source/smbd SAMBA_3_2_0/source/smbd

vlendec at samba.org vlendec at samba.org
Tue Jul 10 12:22:44 GMT 2007


Author: vlendec
Date: 2007-07-10 12:22:44 +0000 (Tue, 10 Jul 2007)
New Revision: 23813

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23813

Log:
Remove unused global variable
Modified:
   branches/SAMBA_3_2/source/smbd/process.c
   branches/SAMBA_3_2_0/source/smbd/process.c


Changeset:
Modified: branches/SAMBA_3_2/source/smbd/process.c
===================================================================
--- branches/SAMBA_3_2/source/smbd/process.c	2007-07-10 11:56:01 UTC (rev 23812)
+++ branches/SAMBA_3_2/source/smbd/process.c	2007-07-10 12:22:44 UTC (rev 23813)
@@ -20,7 +20,6 @@
 
 #include "includes.h"
 
-uint16 global_smbpid;
 extern struct auth_context *negprot_global_auth_context;
 extern int smb_echo_count;
 
@@ -918,10 +917,6 @@
 		return(-1);
 	}
 
-	/* yuck! this is an interim measure before we get rid of our
-		current inbuf/outbuf system */
-	global_smbpid = SVAL(inbuf,smb_pid);
-
 	if (smb_messages[type].fn == NULL) {
 		DEBUG(0,("Unknown message type %d!\n",type));
 		smb_dump("Unknown", 1, inbuf, size);

Modified: branches/SAMBA_3_2_0/source/smbd/process.c
===================================================================
--- branches/SAMBA_3_2_0/source/smbd/process.c	2007-07-10 11:56:01 UTC (rev 23812)
+++ branches/SAMBA_3_2_0/source/smbd/process.c	2007-07-10 12:22:44 UTC (rev 23813)
@@ -20,7 +20,6 @@
 
 #include "includes.h"
 
-uint16 global_smbpid;
 extern int keepalive;
 extern struct auth_context *negprot_global_auth_context;
 extern int smb_echo_count;
@@ -910,10 +909,6 @@
 		return(-1);
 	}
 
-	/* yuck! this is an interim measure before we get rid of our
-		current inbuf/outbuf system */
-	global_smbpid = SVAL(inbuf,smb_pid);
-
 	if (smb_messages[type].fn == NULL) {
 		DEBUG(0,("Unknown message type %d!\n",type));
 		smb_dump("Unknown", 1, inbuf, size);



More information about the samba-cvs mailing list