diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-04-24 02:10:45 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-04-24 02:10:45 +0800 |
commit | 9e460dd990c7f0d0f548c08ad7649bd9e5c652e7 (patch) | |
tree | 437487c50b669733ccfa67db60cea09a5f3765bf /mail/mail-callbacks.c | |
parent | 6cf8336c78f05833094b42be21da8c627f0f415a (diff) | |
download | gsoc2013-evolution-9e460dd990c7f0d0f548c08ad7649bd9e5c652e7.tar.gz gsoc2013-evolution-9e460dd990c7f0d0f548c08ad7649bd9e5c652e7.tar.zst gsoc2013-evolution-9e460dd990c7f0d0f548c08ad7649bd9e5c652e7.zip |
Only add the Organization: header if it is non-empty. Fixes bug #41730.
2003-04-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_get_message): Only add the
Organization: header if it is non-empty. Fixes bug #41730.
svn path=/trunk/; revision=20935
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 331fc9cf26..d304f95511 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -519,7 +519,7 @@ composer_get_message (EMsgComposer *composer, gboolean post, gboolean save_html_ camel_medium_set_header (CAMEL_MEDIUM (message), "X-Evolution-Account", account->name); camel_medium_set_header (CAMEL_MEDIUM (message), "X-Evolution-Transport", account->transport->url); camel_medium_set_header (CAMEL_MEDIUM (message), "X-Evolution-Fcc", account->sent_folder_uri); - if (account->id->organization) + if (account->id->organization && *account->id->organization) camel_medium_set_header (CAMEL_MEDIUM (message), "Organization", account->id->organization); } |