When creating a new context, set lastcmd to now.
authorArt Cancro <ajc@citadel.org>
Mon, 20 Sep 2010 19:52:15 +0000 (15:52 -0400)
committerArt Cancro <ajc@citadel.org>
Mon, 20 Sep 2010 19:52:15 +0000 (15:52 -0400)
commitf07f87b37416c1ec3046a52f7e229661728b28bf
tree9307dfcb2acb4d1ab5f4a2d6f87edf96b60d9c10
parentad1745ff9be816f13b3be7fee290032f9ec30519
When creating a new context, set lastcmd to now.
This prevents the idle timer from performing acts of infanticide.
It also solves, once and for all, the "unexpected answer from
Citadel server; bailing out" error messages in webcit.
citadel/context.c