projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* do non-blocking accept()
[citadel.git]
/
webcit
/
context_loop.c
diff --git
a/webcit/context_loop.c
b/webcit/context_loop.c
index b693ff992676dd15632bdc45dcc9209fcfedf549..f37fa66762f0ba1c5f6a6fe0ba7352e67ab0681e 100644
(file)
--- a/
webcit/context_loop.c
+++ b/
webcit/context_loop.c
@@
-37,6
+37,15
@@
void free_attachments(struct wcsession *sess) {
}
}
+
+void shutdown_sessions(void)
+{
+ struct wcsession *sptr;
+
+ for (sptr = SessionList; sptr != NULL; sptr = sptr->next) {
+ sptr->killthis = 1;
+ }
+}
/**
* \brief what??????
*/