]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/context.c
Omit the warning about session scheduled for termination but not idle.
[citadel.git] / citadel / server / context.c
index 8b54b02b1ebcd755780ddf5e043477b896750acb..f7eea71f09b9de706afac9ea7ec7fb5bd9ccc85d 100644 (file)
@@ -511,9 +511,6 @@ void dead_session_purge(int force) {
        }
        time(&last_purge);
 
-       //if (try_critical_section(S_SESSION_TABLE))
-               //return;
-               //
        begin_critical_section(S_SESSION_TABLE);
        ptr = ContextList;
        while (ptr) {
@@ -537,9 +534,9 @@ void dead_session_purge(int force) {
                        ptr2->next = rem;
                        rem = ptr2;
                }
-               else if (ptr2->kill_me) {
-                       syslog(LOG_DEBUG, "context: session %d is timed out but non-idle", ptr->cs_pid);
-               }
+               //else if (ptr2->kill_me) {
+                       //syslog(LOG_DEBUG, "context: session %d is timed out but non-idle", ptr->cs_pid);
+               //}
        }
        end_critical_section(S_SESSION_TABLE);