Changeset 3630

Show
Ignore:
Timestamp:
04/25/08 13:20:08
Author:
pvanhoof
Message:

2008-04-25 Philip Van Hoof <pvanhoof@gnome.org>

        • Error reporting when sending a message without From, and a crash-fix

about it too

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3623 r3630  
     12008-04-25  Philip Van Hoof <pvanhoof@gnome.org> 
     2 
     3        * Error reporting when sending a message without From, and a crash-fix 
     4        about it too 
     5 
    162008-04-24  Philip Van Hoof <pvanhoof@gnome.org> 
    27 
    3         * Rmeoved all synchronous API usage in TnyCamelSendQueue 
     8        * Removed all synchronous API usage in TnyCamelSendQueue 
    49 
    5102008-04-24  Sergio Villar Senin  <svillar@igalia.com> 
  • trunk/libtinymail-camel/tny-camel-transport-account.c

    r3480 r3630  
    213213        from = (CamelAddress *) camel_internet_address_new (); 
    214214        resentfrom = camel_medium_get_header (CAMEL_MEDIUM (message), "Resent-From"); 
     215 
    215216        if (resentfrom) { 
    216217                camel_address_decode (from, resentfrom); 
    217218        } else { 
    218219                miaddr = camel_mime_message_get_from (message); 
    219                 camel_address_copy (from, CAMEL_ADDRESS (miaddr)); 
     220                if (miaddr) 
     221                        camel_address_copy (from, CAMEL_ADDRESS (miaddr)); 
    220222        } 
    221223