projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unused trace function
[citadel.git]
/
citadel
/
context.c
diff --git
a/citadel/context.c
b/citadel/context.c
index 47da2679f5fec868fe972e7f1937e1b9b4954c68..fd8b43ac20a97501ce57cdffc727a9bf87d1722f 100644
(file)
--- a/
citadel/context.c
+++ b/
citadel/context.c
@@
-15,7
+15,6
@@
#include "ctdl_module.h"
#include "serv_extensions.h"
#include "ctdl_module.h"
#include "serv_extensions.h"
-#include "ecrash.h"
#include "citserver.h"
#include "user_ops.h"
#include "locate_host.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)
{
/* 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);
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
/* Run any cleanup routines registered by loadable modules.
* Note: We have to "become_session()" because the cleanup functions