summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-11-15 01:06:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:48 -0500
commit46e59a57eb4d00c4070119dd1584d3158dfb68d1 (patch)
treef6a010a327cb7a7b656557bc2ed6297e4c589dcf
parentd988af921de131a05490f1eaa92dd33d36501580 (diff)
downloadsamba-46e59a57eb4d00c4070119dd1584d3158dfb68d1.tar.gz
samba-46e59a57eb4d00c4070119dd1584d3158dfb68d1.tar.bz2
samba-46e59a57eb4d00c4070119dd1584d3158dfb68d1.zip
r19709: Fix bug #4224 - deadtime timeout was broken
because of this. Probably a show-stopper for 3.0.23d. Thanks to Alain GORLIER <alain.gorlier@altissemiconductor.com> for the fix. Jeremy. (This used to be commit b167785cbd7911940e16fd2a54ec665857feef5e)
-rw-r--r--source3/smbd/conn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c
index 73d2ed7003..0b0da589e4 100644
--- a/source3/smbd/conn.c
+++ b/source3/smbd/conn.c
@@ -199,6 +199,7 @@ BOOL conn_idle_all(time_t t, int deadtime)
/* 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 */