diff options
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 6 | ||||
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index ccdb44e096..f0054fa588 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,9 @@ +2001-03-17 Jeffrey Stedfast <fejj@ximian.com> + + * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_reply_to): Make + sure the reply_to text is non-NULL before trying to pass it off to + the address parser. + 2001-03-13 Dan Winship <danw@ximian.com> * e-msg-composer-attachment.c (update_mime_type): Use diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c index 39d5c81647..aa723d3822 100644 --- a/composer/e-msg-composer-hdrs.c +++ b/composer/e-msg-composer-hdrs.c @@ -805,6 +805,11 @@ e_msg_composer_hdrs_get_reply_to (EMsgComposerHdrs *hdrs) gtk_object_get (GTK_OBJECT (hdrs->priv->reply_to.entry), "text", &reply_to, NULL); + if (!reply_to || *reply_to == '\0') { + g_free (reply_to); + return NULL; + } + addr = camel_internet_address_new (); if (camel_address_unformat (CAMEL_ADDRESS (addr), reply_to) == -1) { g_free (reply_to); |