projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
have flexible timouts while reading lines in our client mode connections
[citadel.git]
/
citadel
/
msgbase.c
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index da60f313293babfe2531118ab407ccfd2b5ff95c..68484783b2cb52f21e1cd82334f42f1e91114f2e 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-3398,7
+3398,7
@@
StrBuf *CtdlReadMessageBodyBuf(char *terminator, /* token signalling EOT */
/* read in the lines of message text one by one */
do {
if (sock != NULL) {
- if ((CtdlSockGetLine(sock, LineBuf) < 0) ||
+ if ((CtdlSockGetLine(sock, LineBuf
, 5
) < 0) ||
(*sock == -1))
finished = 1;
}