2006-02-05 [colin] 2.0.0cvs17
authorColin Leroy <colin@colino.net>
Sun, 5 Feb 2006 21:04:23 +0000 (21:04 +0000)
committerColin Leroy <colin@colino.net>
Sun, 5 Feb 2006 21:04:23 +0000 (21:04 +0000)
* src/imap.c
Add the f*cking missing expunge that caused imap_fetch_env
to fail after an add_msgs ! :-///
* src/etpan/imap-thread.c
Add a bit of debug

ChangeLog
PATCHSETS
configure.ac
src/etpan/imap-thread.c
src/imap.c

index 88ad8ada451815c8b432fb0227ee0e209344097b..4fe61cd6f53e27011f980f80f2e662a1bcf3b465 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-02-05 [colin]     2.0.0cvs17
+
+       * src/imap.c
+               Add the f*cking missing expunge that caused imap_fetch_env
+               to fail after an add_msgs ! :-///
+       * src/etpan/imap-thread.c
+               Add a bit of debug
+
 2006-02-05 [colin]     2.0.0cvs16
 
        * src/common/utils.c
index 24e72db7f0491500308d69e926d674e750ce8135..16b2d5e858ddea13dc69a9db197cccb9f1462777 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( diff -u /dev/null tools/tbird2syl.py;  cvs diff -u -r 1.25.2.8 -r 1.25.2.9 tools/Makefile.am;  ) > 2.0.0cvs14.patchset
 ( cvs diff -u -r 1.96.2.92 -r 1.96.2.93 src/textview.c;  ) > 2.0.0cvs15.patchset
 ( cvs diff -u -r 1.36.2.54 -r 1.36.2.55 src/common/utils.c;  ) > 2.0.0cvs16.patchset
+( cvs diff -u -r 1.179.2.90 -r 1.179.2.91 src/imap.c;  cvs diff -u -r 1.1.4.26 -r 1.1.4.27 src/etpan/imap-thread.c;  ) > 2.0.0cvs17.patchset
index 1877c5e5ecac86ca8e201bbe78cb287e50fdbada..b788310515594f93c5ec08727ea74202287fd478 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=0
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=16
+EXTRA_VERSION=17
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 76e3a10211f443d4e31f7e20e5f5e7c150796e3f..47835f4a2bc9c5ff9fb6e69eae4d329331ca1baa 100644 (file)
@@ -1856,11 +1856,13 @@ imap_get_envelopes_list(mailimap * imap, struct mailimap_set * set,
                break;
        default:
                mailimap_fetch_type_free(fetch_type);
+               debug_print("uid_fetch: %d\n", r);
                return r;
        }
        
        if (clist_begin(fetch_result) == NULL) {
                res = MAILIMAP_ERROR_FETCH;
+               debug_print("clist_begin = NULL\n");
                goto err;
        }
        
@@ -1870,6 +1872,7 @@ imap_get_envelopes_list(mailimap * imap, struct mailimap_set * set,
        if (r != MAILIMAP_NO_ERROR) {
                mailimap_fetch_type_free(fetch_type);
                res = MAILIMAP_ERROR_MEMORY;
+               debug_print("fetch_result_to_envelop_list: %d\n", res);
                goto err;
        }
        
index a6c85809495291b7b2115040b4f8ca2475eec516..c428a0b9d3ca8e755fe3d28251e74320fc35bd20 100644 (file)
@@ -1117,6 +1117,7 @@ static gint imap_add_msgs(Folder *folder, FolderItem *dest, GSList *file_list,
        statusbar_progress_all(0,0,0);
        statusbar_pop_all();
        
+       imap_cmd_expunge(session);
        unlock_session();
        
        g_free(destdir);