struct CitContext *ContextList = NULL;
int ScheduledShutdown = 0;
int do_defrag = 0;
-int (*CtdlSendExpressMessageFunc) (char *, char *, char *) = NULL;
/*
* Various things that need to be initialized at startup
syslog(LOG_NOTICE,"session %d ended", CC->cs_pid);
- /* Deallocate any message list we might have in memory */
- if (CC->msglist != NULL) phree(CC->msglist);
-
/* Deallocate any user-data attached to this session */
deallocate_user_data(CC);
CC->upload_fp = NULL;
CC->cs_pid = con->client_socket; /* not necessarily portable */
CC->FirstExpressMessage = NULL;
- CC->msglist = NULL;
- CC->num_msgs = 0;
time(&CC->lastcmd);
time(&CC->lastidle);
strcpy(CC->lastcmdname, " ");