aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-06-01 07:20:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-06-01 07:20:54 +0800
commit9d1e57701a113ad29c920cfa26b9966115570f08 (patch)
tree8f8843cda0e1dac16607aec4fa596197d3b9dbec /composer/e-msg-composer.c
parent8e3439ab3eea986e1d2e075dceae3aa2b9a439f1 (diff)
downloadgsoc2013-evolution-9d1e57701a113ad29c920cfa26b9966115570f08.tar.gz
gsoc2013-evolution-9d1e57701a113ad29c920cfa26b9966115570f08.tar.zst
gsoc2013-evolution-9d1e57701a113ad29c920cfa26b9966115570f08.zip
Oops. Fix a few compile problems.
2001-05-31 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Oops. Fix a few compile problems. svn path=/trunk/; revision=10076
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 28800e5be8..4011dd316e 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -449,13 +449,14 @@ build_message (EMsgComposer *composer)
if (composer->smime_sign) {
/* FIXME: should use the S/MIME signature certificate email address */
CamelMimeMessage *smime_mesg;
+ CamelInternetAddress *from;
const char *address;
camel_exception_init (&ex);
from = e_msg_composer_hdrs_get_from (E_MSG_COMPOSER_HDRS (composer->hdrs));
camel_internet_address_get (from, 0, NULL, &address);
- smime_mesg = mail_crypto_smime_sign (message, address, TRUE, TRUE, &ex);
+ smime_mesg = mail_crypto_smime_sign (new, address, TRUE, TRUE, &ex);
camel_object_unref (CAMEL_OBJECT (from));
@@ -469,6 +470,7 @@ build_message (EMsgComposer *composer)
if (composer->smime_encrypt) {
/* FIXME: we should try to get the preferred cert "nickname" for each recipient */
const CamelInternetAddress *addr;
+ CamelInternetAddress *from;
CamelMimeMessage *smime_mesg;
const char *address;
GPtrArray *recipients;
@@ -501,7 +503,7 @@ build_message (EMsgComposer *composer)
from = e_msg_composer_hdrs_get_from (E_MSG_COMPOSER_HDRS (composer->hdrs));
camel_internet_address_get (from, 0, NULL, &address);
- smime_mesg = mail_crypto_smime_encrypt (message, address, recipients, &ex);
+ smime_mesg = mail_crypto_smime_encrypt (new, address, recipients, &ex);
camel_object_unref (CAMEL_OBJECT (from));