[Goodies-commits] r5252 - xfce4-mailwatch-plugin/trunk/libmailwatch-core

Brian Tarricone kelnos at xfce.org
Sat Aug 16 11:32:41 CEST 2008


Author: kelnos
Date: 2008-08-16 09:32:40 +0000 (Sat, 16 Aug 2008)
New Revision: 5252

Modified:
   xfce4-mailwatch-plugin/trunk/libmailwatch-core/mailwatch-mailbox-imap.c
Log:
gah, and now that imap_recv() puts the \n back, we don't need an extra

i should really just go to bed

Modified: xfce4-mailwatch-plugin/trunk/libmailwatch-core/mailwatch-mailbox-imap.c
===================================================================
--- xfce4-mailwatch-plugin/trunk/libmailwatch-core/mailwatch-mailbox-imap.c	2008-08-16 09:28:59 UTC (rev 5251)
+++ xfce4-mailwatch-plugin/trunk/libmailwatch-core/mailwatch-mailbox-imap.c	2008-08-16 09:32:40 UTC (rev 5252)
@@ -238,10 +238,6 @@
         if(imap_response_fatal(buf+tot))
             return -1;
 
-        *(buf+tot+bin) = '\n';
-        ++bin;
-        *(buf+tot+bin) = 0;
-
         p = strstr(buf+tot, "OK");
         if(p && p - (buf+tot) <= 6)
             return tot + bin;




More information about the Goodies-commits mailing list