]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/funambol/serv_funambol.c
Aggregation of remote POP3 accounts is now working.
[citadel.git] / citadel / modules / funambol / serv_funambol.c
index 3ea21710509be11ca107bc9611d2094e3b0f677f..309e33464c57180b3388b1bf781e13f1c6191776 100644 (file)
@@ -202,7 +202,7 @@ void notify_funambol(long msgnum, void *userdata) {
        
        /* Response */
        lprintf(CTDL_DEBUG, "Awaiting response\n");
-        if (sock_gets(sock, buf) < 0) {
+        if (sock_getln(sock, buf, sizeof buf) < 0) {
                 goto bail;
         }
         lprintf(CTDL_DEBUG, "<%s\n", buf);