Changeset 3259
- Timestamp:
- 01/14/08 23:36:02
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c
r3251 r3259 5513 5513 } 5514 5514 5515 if (body) 5515 if (body) { 5516 5516 camel_stream_write (stream, body, body_len); 5517 else { 5517 g_free (body); body = NULL; 5518 } else { 5518 5519 ex_id = CAMEL_EXCEPTION_SERVICE_UNAVAILABLE; 5519 5520 err = TRUE; trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c
r3258 r3259 2254 2254 "STATUS %F (%s)", folder_name, type); 2255 2255 2256 if (camel_exception_is_set (&ex)) 2257 camel_exception_clear (&ex); 2258 2256 2259 if (!response) { 2257 2260 if (err_handle_on_fail) { 2258 CamelException ex; 2259 2260 camel_exception_init (&ex); 2261 if (imap_check_folder_still_extant (imap_store, folder_name, &ex) == FALSE) { 2262 imap_folder_effectively_unsubscribed (imap_store, folder_name, &ex); 2263 imap_forget_folder (imap_store, folder_name, &ex); 2261 CamelException mex = CAMEL_EXCEPTION_INITIALISER; 2262 2263 if (imap_check_folder_still_extant (imap_store, folder_name, &mex) == FALSE) { 2264 imap_folder_effectively_unsubscribed (imap_store, folder_name, &mex); 2265 imap_forget_folder (imap_store, folder_name, &mex); 2264 2266 } 2265 camel_exception_clear (&ex); 2267 2268 if (camel_exception_is_set (&mex)) 2269 camel_exception_clear (&mex); 2266 2270 } 2267 2271 return NULL;
