summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ad1745f)
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.
me->cs_pid = ++next_pid;
me->prev = NULL;
me->next = ContextList;
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;
ContextList = me;
if (me->next != NULL) {
me->next->prev = me;