]> code.citadel.org Git - citadel.git/blobdiff - citadel/imap_misc.c
* client_gets(char *buf) has been replaced by
[citadel.git] / citadel / imap_misc.c
index 5bf63ff6b0504a87bf49e022df16b28c139d83d4..74057e8c691a1724c417b792660029b71ea50e80 100644 (file)
@@ -283,10 +283,10 @@ void imap_append(int num_parms, char *parms[]) {
 
        /* I think there's supposed to be a trailing CRLF after the
         * literal (the message text) is received.  This call to
-        * client_gets() absorbs it.
+        * client_getln() absorbs it.
         */
        flush_output();
-       client_gets(buf);
+       client_getln(buf, sizeof buf);
        lprintf(CTDL_DEBUG, "Trailing CRLF: %s\n", buf);
 
        /* Convert RFC822 newlines (CRLF) to Unix newlines (LF) */