From 8536ad0ce72512ec8f98c4dda6c63bd765db14cc Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 28 May 2009 16:24:02 +0000 Subject: [PATCH] Reset activity time to avoid relock on -U. --- server-fn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server-fn.c b/server-fn.c index ca74fd3d..245985ce 100644 --- a/server-fn.c +++ b/server-fn.c @@ -1,4 +1,4 @@ -/* $Id: server-fn.c,v 1.59 2009-04-27 17:27:36 nicm Exp $ */ +/* $Id: server-fn.c,v 1.60 2009-05-28 16:24:02 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -205,6 +205,7 @@ server_unlock(const char *s) if (!server_locked) return (0); + server_activity = time(NULL); if (server_password != NULL) { if (s == NULL)