summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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 */