projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warnings all over citserver; handle function replies; remove unused code.
[citadel.git]
/
citadel
/
context.c
diff --git
a/citadel/context.c
b/citadel/context.c
index ecff59eb2fe3ce9fa5665801998cced417956637..695b2a0a7efde70a47fd31e2cd59bf878832b4aa 100644
(file)
--- a/
citadel/context.c
+++ b/
citadel/context.c
@@
-276,12
+276,10
@@
void terminate_idle_sessions(void)
{
CitContext *ccptr;
time_t now;
- int session_to_kill;
int killed = 0;
int longrunners = 0;
now = time(NULL);
- session_to_kill = 0;
begin_critical_section(S_SESSION_TABLE);
for (ccptr = ContextList; ccptr != NULL; ccptr = ccptr->next) {
if (