]> code.citadel.org Git - citadel.git/commitdiff
* More of IMAP STORE. Works for \Deleted now, but we don't have EXPUNGE yet
authorArt Cancro <ajc@citadel.org>
Sat, 24 Feb 2001 17:23:22 +0000 (17:23 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 24 Feb 2001 17:23:22 +0000 (17:23 +0000)
citadel/ChangeLog
citadel/imap_fetch.c
citadel/imap_store.c

index 8122a266f852f43cc3c8a246dc3ca2043a2042ac..becfc66649433a8b05daf72aa38c65f7a6c278a1 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 573.100  2001/02/24 17:23:21  ajc
+ * More of IMAP STORE.  Works for \Deleted now, but we don't have EXPUNGE yet
+
  Revision 573.99  2001/02/24 06:06:28  ajc
  * Wrote a bit of the IMAP STORE command
 
@@ -2471,3 +2474,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
+
index f31ed7eb0aa3afecee4d4f0b1442ae8829d6b01a..cb306ba22d0c494c3ef1eff2b1407cde24b74526 100644 (file)
@@ -57,7 +57,7 @@ struct imap_fetch_part {
  */
 void imap_output_flags(int num) {
        cprintf("FLAGS (");
-       if (IMAP->flags[num] & IMAP_DELETED) cprintf("\\Deleted ");
+       if (IMAP->flags[num] & IMAP_DELETED) cprintf("\\Deleted");
        cprintf(")");
 }
 
index dade924ba41f365b6eaa6a272bc494d44fb040ad..70fcdaff4000c83d097034ac0cd04ac259b1e782 100644 (file)
@@ -79,9 +79,9 @@ void imap_do_store_msg(int num, int num_items, char **itemlist) {
        /*
         * Tell the client what happen (someone set up us the bomb!)
         */
-       cprintf("* %d FETCH ", num+1);  /* output sequence number */
+       cprintf("* %d FETCH (", num+1); /* output sequence number */
        imap_output_flags(num);
-       cprintf("\r\n");
+       cprintf(")\r\n");
 }