Changeset 2338

Show
Ignore:
Timestamp:
07/02/07 10:22:47
Author:
pvanhoof
Message:

UIDPLUS fallback

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c

    r2337 r2338  
    15241524                } 
    15251525                 
    1526                 if (store->capabilities & IMAP_CAPABILITY_UIDPLUS) { 
     1526                if (store->capabilities & IMAP_CAPABILITY_UIDPLUS)  
     1527                { 
    15271528                        response = camel_imap_command (store, folder, ex, 
    15281529                                                       "UID EXPUNGE %s", set); 
     1530 
     1531                        if (camel_exception_is_set (ex))  
     1532                        { 
     1533                                store->capabilities &= ~IMAP_CAPABILITY_UIDPLUS; 
     1534                                ((CamelFolderClass *)CAMEL_OBJECT_GET_CLASS(folder))->sync(folder, 0, ex); 
     1535                                response = camel_imap_command (store, folder, ex, "EXPUNGE"); 
     1536                        } 
     1537 
    15291538                } else 
    15301539                        response = camel_imap_command (store, folder, ex, "EXPUNGE"); 
    15311540 
    1532                 if (camel_exception_is_set (ex)) { 
    1533                         store->capabilities &= ~IMAP_CAPABILITY_UIDPLUS; 
    1534                         ((CamelFolderClass *)CAMEL_OBJECT_GET_CLASS(folder))->sync(folder, 0, ex); 
    1535                 } 
    15361541 
    15371542                if (response)