Changeset 3531
- Timestamp:
- 03/26/08 15:28:39
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c (modified) (1 diff)
- trunk/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c (modified) (3 diffs)
- trunk/libtinymail-gnomevfs/tny-vfs-stream.c (modified) (1 diff)
- trunk/libtinymail/tny-fs-stream.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r3526 r3531 1 2008-03-26 Philip Van Hoof <pvanhoof@gnome.org> 2 3 * Fixed several problems like documentation problems in Jose's patch 4 * Review of Jose's patch 5 * Fixed several insignificant smaller robustness problems 6 * Fixed a major leak 7 * Fixed a regression due to a performance fix when moving and renaming 8 Maildir folders 9 1 10 2008-03-26 Jose Dapena Paz <jdapena@igalia.com> 2 11 trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c
r3526 r3531 3989 3989 } 3990 3990 3991 camel_store_summary_touch((CamelStoreSummary *)imap_store->summary); 3992 camel_store_summary_save((CamelStoreSummary *)imap_store->summary, ex); 3991 if (imap_store->summary) { 3992 camel_store_summary_touch((CamelStoreSummary *)imap_store->summary); 3993 camel_store_summary_save((CamelStoreSummary *)imap_store->summary, ex); 3994 } 3993 3995 3994 3996 CAMEL_SERVICE_REC_UNLOCK(store, connect_lock); trunk/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c
r3501 r3531 466 466 if (!found) { 467 467 /* Removed remotely (only if not cached locally) */ 468 if ( !camel_data_cache_exists (pop3_store->cache, "cache", info->uid, NULL)) {468 if (info && info->uid && !camel_data_cache_exists (pop3_store->cache, "cache", info->uid, NULL)) { 469 469 470 470 camel_message_info_ref (info); … … 613 613 if (!found) { 614 614 /* Removed remotely (only if not cached locally) */ 615 if ( !camel_data_cache_exists (pop3_store->cache, "cache", info->uid, NULL)) {615 if (info && info->uid && !camel_data_cache_exists (pop3_store->cache, "cache", info->uid, NULL)) { 616 616 camel_message_info_ref (info); 617 617 deleted = g_list_prepend (deleted, info); … … 758 758 759 759 /* heuristics */ 760 if ( buffer &&camel_strstrcase (buffer, "Content-Disposition: attachment") != NULL)760 if (camel_strstrcase (buffer, "Content-Disposition: attachment") != NULL) 761 761 fi->has_attachments = TRUE; 762 else if ( buffer &&camel_strstrcase (buffer, "filename=") != NULL &&762 else if (camel_strstrcase (buffer, "filename=") != NULL && 763 763 strchr (buffer, '.')) 764 764 fi->has_attachments = TRUE; 765 else if ( buffer &&camel_strstrcase (buffer, "Content-Type: message/rfc822") != NULL)765 else if (camel_strstrcase (buffer, "Content-Type: message/rfc822") != NULL) 766 766 fi->has_attachments = TRUE; 767 767 trunk/libtinymail-gnomevfs/tny-vfs-stream.c
r3522 r3531 408 408 priv->bound_end = end; 409 409 priv->bound_start = start; 410 return ;410 return 0; 411 411 } 412 412 trunk/libtinymail/tny-fs-stream.c
r3454 r3531 312 312 priv->bound_end = end; 313 313 priv->bound_start = start; 314 return ;314 return 0; 315 315 } 316 316
