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