Changeset 3279
- Timestamp:
- 01/19/08 14:19:20
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/libtinymail-camel/camel-lite/camel/camel-disco-diary.c (modified) (3 diffs)
- trunk/libtinymail-camel/camel-lite/camel/camel-disco-store.c (modified) (1 diff)
- trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r3277 r3279 1 2008-01-19 Philip Van Hoof <pvanhoof@gnome.org> 2 3 * Fixed sync when offline transfers took place 4 1 5 2008-01-17 Sergio Villar Senin <svillar@igalia.com> 2 6 trunk/libtinymail-camel/camel-lite/camel/camel-disco-diary.c
r2950 r3279 291 291 fseek (diary->file, 0, SEEK_END); 292 292 size = ftell (diary->file); 293 g_return_if_fail (size != 0); 293 if (size == 0) 294 return; 294 295 rewind (diary->file); 295 296 … … 323 324 { 324 325 CamelFolder *folder; 325 char *uid, *ret_uid ;326 char *uid, *ret_uid = NULL; 326 327 CamelMimeMessage *message; 327 328 CamelMessageInfo *info; … … 401 402 g_hash_table_foreach (diary->folders, close_folder, diary); 402 403 g_hash_table_destroy (diary->folders); 403 diary->folders = NULL;404 diary->folders = g_hash_table_new (g_str_hash, g_str_equal); 404 405 405 406 /* Truncate the log */ trunk/libtinymail-camel/camel-lite/camel/camel-disco-store.c
r2950 r3279 399 399 camel_disco_store_check_online (CamelDiscoStore *store, CamelException *ex) 400 400 { 401 402 if (camel_disco_store_status (store) == CAMEL_DISCO_STORE_RESYNCING) 403 return TRUE; 404 401 405 if (camel_disco_store_status (store) != CAMEL_DISCO_STORE_ONLINE) { 402 406 camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE, trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c
r3259 r3279 1978 1978 CamelImapStore *store = CAMEL_IMAP_STORE (folder->parent_store); 1979 1979 CamelImapResponse *response; 1980 char *uid ;1980 char *uid = NULL; 1981 1981 int count; 1982 1982 … … 2022 2022 CamelImapStore *store = CAMEL_IMAP_STORE (folder->parent_store); 2023 2023 CamelImapResponse *response; 2024 char *uid ;2024 char *uid = NULL; 2025 2025 2026 2026 response = do_append (folder, message, info, &uid, ex);
