]> code.citadel.org Git - citadel.git/blobdiff - webcit/context_loop.c
* Better handling of multiple recipients in reply-all
[citadel.git] / webcit / context_loop.c
index a3541dd87cf56a15933d843e38ef4bb2bcbc19f1..b5ccd4fde3e8c903521348f8648b4cb3efad4d18 100644 (file)
@@ -145,7 +145,7 @@ int req_gets(int sock, char *buf, char *hold)
 
        if (strlen(hold) == 0) {
                strcpy(buf, "");
-               a = client_gets(sock, buf);
+               a = client_getln(sock, buf, SIZ);
                if (a<1) return(-1);
        } else {
                safestrncpy(buf, hold, SIZ);