From 46e59a57eb4d00c4070119dd1584d3158dfb68d1 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 15 Nov 2006 01:06:45 +0000 Subject: r19709: Fix bug #4224 - deadtime timeout was broken because of this. Probably a show-stopper for 3.0.23d. Thanks to Alain GORLIER for the fix. Jeremy. (This used to be commit b167785cbd7911940e16fd2a54ec665857feef5e) --- source3/smbd/conn.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/smbd') 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 */ -- cgit