Changeset 1484

Show
Ignore:
Timestamp:
01/27/07 13:03:35
Author:
djcb
Message:

* ChangeLog?, camel-pop3-(engine|folder).c:


  • Added some temporary hack for the pop3 provider to not crash;

this will be replaced by a real solution later, but for now
we just don't want the crashes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r1483 r1484  
     12007-01-27  Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> 
     2 
     3        * Added some temporary hack for the pop3 provider to not 
     4          crash; this will be replaced by a real solution later, but for now 
     5          we just don't want the crashes. 
     6 
    172007-01-27  Philip Van Hoof  <pvanhoof@gnome.org> 
    28 
  • trunk/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-engine.c

    r1396 r1484  
    255255engine_command_queue(CamelPOP3Engine *pe, CamelPOP3Command *pc) 
    256256{ 
     257 
     258#warning FIXME 
     259        if (!pe) { 
     260                g_warning ("FIXME: pe == NULL in %s", __FUNCTION__); 
     261                return FALSE; 
     262        } 
     263 
    257264        if (((pe->capa & CAMEL_POP3_CAP_PIPE) == 0 || (pe->sentlen + strlen(pc->data)) > CAMEL_POP3_SEND_LIMIT) 
    258265            && pe->current != NULL) { 
     
    291298        CamelPOP3Command *pc, *pw, *pn; 
    292299 
     300#warning FIXME 
     301        if (!pe) { 
     302                g_warning ("FIXME: pe == NULL in %s", __FUNCTION__); 
     303                return 0; 
     304        } 
     305         
    293306        if (pcwait && pcwait->state >= CAMEL_POP3_COMMAND_OK) 
    294307                return 0; 
     
    419432camel_pop3_engine_command_free(CamelPOP3Engine *pe, CamelPOP3Command *pc) 
    420433{ 
     434        #warning FIXME 
     435        if (!pe) { 
     436                g_warning ("FIXME: pe == NULL in %s", __FUNCTION__); 
     437                return; 
     438        } 
     439         
    421440        if (pe->current != pc) 
    422441                e_dlist_remove((EDListNode *)pc); 
  • trunk/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c

    r1481 r1484  
    308308        camel_operation_start (NULL, _("Fetching summary information for new messages in folder")); 
    309309 
     310        #warning FIXME 
     311        if (!pop3_store->engine) { 
     312                g_warning ("FIXME: pop3_store->engine == NULL in %s", __FUNCTION__); 
     313                return; 
     314        } 
     315 
    310316        pcl = camel_pop3_engine_command_new(pop3_store->engine, CAMEL_POP3_COMMAND_MULTI, cmd_list, folder, "LIST\r\n"); 
    311317        if (pop3_store->engine->capa & CAMEL_POP3_CAP_UIDL) 
     
    960966                g_free (mi->uid); 
    961967        mi->flags |= CAMEL_MESSAGE_INFO_UID_NEEDS_FREE; 
    962         mi->uid = g_strdup (fi->uid); 
     968        mi->uid = g_strdup(fi->uid); 
    963969 
    964970        camel_folder_summary_add (summary, (CamelMessageInfo *)mi);