X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fcontext.c;h=fd8b43ac20a97501ce57cdffc727a9bf87d1722f;hp=47da2679f5fec868fe972e7f1937e1b9b4954c68;hb=c750a06a241dc2737fa68c24b340a1bd82894f74;hpb=82adc0fcf4da8e91ec4ff11f1a0f9d96449f85ad diff --git a/citadel/context.c b/citadel/context.c index 47da2679f..fd8b43ac2 100644 --- a/citadel/context.c +++ b/citadel/context.c @@ -15,7 +15,6 @@ #include "ctdl_module.h" #include "serv_extensions.h" -#include "ecrash.h" #include "citserver.h" #include "user_ops.h" #include "locate_host.h" @@ -72,9 +71,9 @@ int CtdlIsSingleUser(void) { /* check for only one context here */ if (num_sessions == 1) - return TRUE; + return 1; } - return FALSE; + return 0; } @@ -293,7 +292,6 @@ void RemoveContext (CitContext *con) c = "WTF?"; } syslog(LOG_DEBUG, "context: RemoveContext(%s) session %d", c, con->cs_pid); -/// cit_backtrace(); /* Run any cleanup routines registered by loadable modules. * Note: We have to "become_session()" because the cleanup functions