projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dff8568
)
Fix HaveMoreLinesWaiting. Fixes IG's problem with async.
author
Dave West
<davew@uncensored.citadel.org>
Thu, 25 Feb 2010 13:19:11 +0000
(13:19 +0000)
committer
Dave West
<davew@uncensored.citadel.org>
Thu, 25 Feb 2010 13:19:11 +0000
(13:19 +0000)
citadel/sysdep.c
patch
|
blob
|
history
diff --git
a/citadel/sysdep.c
b/citadel/sysdep.c
index 3870ab906e3907e5e08c3772cc4c4cb9dc56b02d..d748de23a02a5bd7a109064c01af0079c92a14b8 100644
(file)
--- a/
citadel/sysdep.c
+++ b/
citadel/sysdep.c
@@
-635,10
+635,10
@@
int client_read_to(char *buf, int bytes, int timeout)
int HaveMoreLinesWaiting(CitContext *CCC)
{
- if ((CCC->kill_me == 1)
&&
+ if ((CCC->kill_me == 1)
|| (
(CCC->Pos == NULL) &&
(StrLength(CCC->ReadBuf) == 0) &&
- (CCC->client_socket != -1))
+ (CCC->client_socket != -1))
)
return 0;
else
return 1;