From 7b6e11eab806fa8b8454fe66d2c49074c206589d Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 20 Sep 2010 16:25:43 -0400 Subject: [PATCH] Backport infanticide prevention patch from head --- citadel/context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/citadel/context.c b/citadel/context.c index c51724752..2681d85a8 100644 --- a/citadel/context.c +++ b/citadel/context.c @@ -385,6 +385,7 @@ CitContext *CreateNewContext(void) { me->cs_pid = ++next_pid; me->prev = NULL; me->next = ContextList; + me->lastcmd = time(NULL); /* set lastcmd to now to prevent idle timer infanticide */ ContextList = me; if (me->next != NULL) { me->next->prev = me; -- 2.30.2