Changeset 2479

Show
Ignore:
Timestamp:
07/20/07 12:38:01
Author:
jdapena
Message:

* libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c:
(camel_imap_recon): if there's no reconnection operation, then we don't
call it, preventing crashes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/jdapena/guadec-week/ChangeLog

    r2478 r2479  
     12007-07-20  Jose Dapena Paz  <jdapena@igalia.com> 
     2 
     3        * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c: 
     4        (camel_imap_recon): if there's no reconnection operation, then we don't 
     5        call it, preventing crashes. 
     6 
    172007-07-19  Jose Dapena Paz  <jdapena@igalia.com> 
    28 
  • devel/jdapena/guadec-week/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c

    r2478 r2479  
    163163                camel_service_connect (service, mex); 
    164164        } 
    165         if (!camel_exception_is_set (mex) && service->reconnection) 
    166                 service->reconnection (service, TRUE, service->data); 
    167         else 
    168                 service->reconnection (service, FALSE, service->data); 
     165        if (service->reconnection) { 
     166                if (!camel_exception_is_set (mex)) 
     167                        service->reconnection (service, TRUE, service->data); 
     168                else 
     169                        service->reconnection (service, FALSE, service->data); 
     170        } 
    169171 
    170172        service->reconnecting = FALSE;