Changeset 3279

Show
Ignore:
Timestamp:
01/19/08 14:19:20
Author:
pvanhoof
Message:

2008-01-19 Philip Van Hoof <pvanhoof@gnome.org>

        • Fixed sync when offline transfers took place
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3277 r3279  
     12008-01-19  Philip Van Hoof <pvanhoof@gnome.org> 
     2 
     3        * Fixed sync when offline transfers took place 
     4 
    152008-01-17  Sergio Villar Senin  <svillar@igalia.com> 
    26 
  • trunk/libtinymail-camel/camel-lite/camel/camel-disco-diary.c

    r2950 r3279  
    291291        fseek (diary->file, 0, SEEK_END); 
    292292        size = ftell (diary->file); 
    293         g_return_if_fail (size != 0); 
     293        if (size == 0) 
     294                return; 
    294295        rewind (diary->file); 
    295296 
     
    323324                { 
    324325                        CamelFolder *folder; 
    325                         char *uid, *ret_uid
     326                        char *uid, *ret_uid = NULL
    326327                        CamelMimeMessage *message; 
    327328                        CamelMessageInfo *info; 
     
    401402        g_hash_table_foreach (diary->folders, close_folder, diary); 
    402403        g_hash_table_destroy (diary->folders); 
    403         diary->folders = NULL
     404        diary->folders = g_hash_table_new (g_str_hash, g_str_equal)
    404405 
    405406        /* Truncate the log */ 
  • trunk/libtinymail-camel/camel-lite/camel/camel-disco-store.c

    r2950 r3279  
    399399camel_disco_store_check_online (CamelDiscoStore *store, CamelException *ex) 
    400400{ 
     401 
     402        if (camel_disco_store_status (store) == CAMEL_DISCO_STORE_RESYNCING) 
     403                return TRUE; 
     404 
    401405        if (camel_disco_store_status (store) != CAMEL_DISCO_STORE_ONLINE) { 
    402406                camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE, 
  • trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c

    r3259 r3279  
    19781978        CamelImapStore *store = CAMEL_IMAP_STORE (folder->parent_store); 
    19791979        CamelImapResponse *response; 
    1980         char *uid
     1980        char *uid = NULL
    19811981        int count; 
    19821982 
     
    20222022        CamelImapStore *store = CAMEL_IMAP_STORE (folder->parent_store); 
    20232023        CamelImapResponse *response; 
    2024         char *uid
     2024        char *uid = NULL
    20252025 
    20262026        response = do_append (folder, message, info, &uid, ex);