]> code.citadel.org Git - citadel.git/commitdiff
* serv_imap.c: don't respond "OK DELETE completed" until after the room
authorArt Cancro <ajc@citadel.org>
Sat, 23 Apr 2005 02:04:12 +0000 (02:04 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 23 Apr 2005 02:04:12 +0000 (02:04 +0000)
  delete operation actually completes.

citadel/ChangeLog
citadel/serv_imap.c

index b4158f6f51920f0892589388e97b95b8f77c7d31..0abc5b2c7422f7e0dab24a17cdd418a06384beb0 100644 (file)
@@ -1,4 +1,8 @@
  $Log$
+ Revision 645.10  2005/04/23 02:04:11  ajc
+ * serv_imap.c: don't respond "OK DELETE completed" until after the room
+   delete operation actually completes.
+
  Revision 645.9  2005/04/23 01:59:58  ajc
  * Big performance optimization on CtdlSetSeen()
 
@@ -6619,3 +6623,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 ef157b2b1ca7275326d5daf3e106ff6a87894bba..c56ee75e5fc269d60443f44702c7f20b1b3b9a58 100644 (file)
@@ -1161,8 +1161,8 @@ void imap_delete(int num_parms, char *parms[])
         * Now delete the room.
         */
        if (CtdlDoIHavePermissionToDeleteThisRoom(&CC->room)) {
-               cprintf("%s OK DELETE completed\r\n", parms[0]);
                delete_room(&CC->room);
+               cprintf("%s OK DELETE completed\r\n", parms[0]);
        } else {
                cprintf("%s NO Can't delete this folder.\r\n", parms[0]);
        }