CC->kill_me now contains an enum indicating the REASON session was killed
[citadel.git] / citadel / threads.c
index 3f7aa7ee2e2b8b914b1eba53ead5cb69eac530b0..1b605d0577da572882aa3f6fad5e1422a8b4c80f 100644 (file)
@@ -1209,7 +1209,7 @@ void *simulation_worker (void*arg) {
 
        this = CreateNewContext();
        CtdlThreadSleep(1);
-       this->kill_me = 1;
+       this->kill_me = KILLME_SIMULATION_WORKER;
        this->state = CON_IDLE;
        dead_session_purge(1);
        begin_critical_section(S_SESSION_TABLE);