]> code.citadel.org Git - citadel.git/blobdiff - citadel/citserver.c
Removed all references to CC->msglist and CC->num_msgs, and all utility
[citadel.git] / citadel / citserver.c
index 45d23b95e9f5c879bd8b6ee8debcb1a97d6182f6..e0785b680bb729f946f4ec316d73ccb299ee3b45 100644 (file)
@@ -140,9 +140,6 @@ void cleanup_stuff(void *arg)
 
        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);
 
@@ -821,8 +818,6 @@ void *context_loop(struct CitContext *con)
        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, "    ");