1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

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)
This commit is contained in:
Jeremy Allison 2006-11-15 01:06:45 +00:00 committed by Gerald (Jerry) Carter
parent d988af921d
commit 46e59a57eb

View File

@ -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 */