projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80bdef7
)
Another attempt to close the hole causing crashes when CC==NULL
author
Dave West
<davew@uncensored.citadel.org>
Sun, 31 Jan 2010 17:15:06 +0000
(17:15 +0000)
committer
Dave West
<davew@uncensored.citadel.org>
Sun, 31 Jan 2010 17:15:06 +0000
(17:15 +0000)
citadel/sysdep.c
patch
|
blob
|
history
diff --git
a/citadel/sysdep.c
b/citadel/sysdep.c
index d3f13aba5e88fd09fcffa9bb3883905c6bcf880d..83e87f3d9eec069f62c7749085726ff71ce6883f 100644
(file)
--- a/
citadel/sysdep.c
+++ b/
citadel/sysdep.c
@@
-992,7
+992,7
@@
do_select: force_purge = 0;
begin_critical_section(S_SESSION_TABLE);
for (ptr = ContextList; ptr != NULL; ptr = ptr->next) {
if ( (FD_ISSET(ptr->client_socket, &readfds))
- && (ptr->state
!= CON_EXECUTING
) ) {
+ && (ptr->state
== CON_IDLE
) ) {
ptr->input_waiting = 1;
if (!bind_me) {
bind_me = ptr; /* I choose you! */