have flexible timouts while reading lines in our client mode connections
[citadel.git] / citadel / msgbase.c
index da60f313293babfe2531118ab407ccfd2b5ff95c..68484783b2cb52f21e1cd82334f42f1e91114f2e 100644 (file)
@@ -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;
                }