svn commit: samba r19709 - in branches: SAMBA_3_0/source/smbd SAMBA_3_0_23/source/smbd SAMBA_3_0_24/source/smbd

jra at samba.org jra at samba.org
Wed Nov 15 01:06:46 GMT 2006


Author: jra
Date: 2006-11-15 01:06:45 +0000 (Wed, 15 Nov 2006)
New Revision: 19709

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

Log:
Fix bug #4224 - deadtime timeout was broken
because of this. Probably a show-stopper for 3.0.23d.
Thanks to Alain GORLIER <alain.gorlier at altissemiconductor.com>
for the fix.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/smbd/conn.c
   branches/SAMBA_3_0_23/source/smbd/conn.c
   branches/SAMBA_3_0_24/source/smbd/conn.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/conn.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/conn.c	2006-11-14 23:17:39 UTC (rev 19708)
+++ branches/SAMBA_3_0/source/smbd/conn.c	2006-11-15 01:06:45 UTC (rev 19709)
@@ -199,6 +199,7 @@
 		/* Update if connection wasn't idle. */
 		if (conn->lastused != conn->lastused_count) {
 			conn->lastused = t;
+			conn->lastused_count = t;
 		}
 
 		/* close dirptrs on connections that are idle */

Modified: branches/SAMBA_3_0_23/source/smbd/conn.c
===================================================================
--- branches/SAMBA_3_0_23/source/smbd/conn.c	2006-11-14 23:17:39 UTC (rev 19708)
+++ branches/SAMBA_3_0_23/source/smbd/conn.c	2006-11-15 01:06:45 UTC (rev 19709)
@@ -187,6 +187,7 @@
 		/* Update if connection wasn't idle. */
 		if (conn->lastused != conn->lastused_count) {
 			conn->lastused = t;
+			conn->lastused_count = t;
 		}
 
 		/* close dirptrs on connections that are idle */

Modified: branches/SAMBA_3_0_24/source/smbd/conn.c
===================================================================
--- branches/SAMBA_3_0_24/source/smbd/conn.c	2006-11-14 23:17:39 UTC (rev 19708)
+++ branches/SAMBA_3_0_24/source/smbd/conn.c	2006-11-15 01:06:45 UTC (rev 19709)
@@ -187,6 +187,7 @@
 		/* Update if connection wasn't idle. */
 		if (conn->lastused != conn->lastused_count) {
 			conn->lastused = t;
+			conn->lastused_count = t;
 		}
 
 		/* close dirptrs on connections that are idle */



More information about the samba-cvs mailing list