aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index fdded3fe40..539d0d4f8b 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1632,7 +1632,7 @@ e_msg_composer_new_with_message (CamelMimeMessage *msg)
for (i = 0; i < len; i++) {
const char *name, *addr;
- if (camel_internet_address_get (to, i, &name, &addr)) {
+ if (camel_internet_address_get (cc, i, &name, &addr)) {
CamelInternetAddress *cia;
cia = camel_internet_address_new ();
@@ -1646,7 +1646,7 @@ e_msg_composer_new_with_message (CamelMimeMessage *msg)
for (i = 0; i < len; i++) {
const char *name, *addr;
- if (camel_internet_address_get (to, i, &name, &addr)) {
+ if (camel_internet_address_get (bcc, i, &name, &addr)) {
CamelInternetAddress *cia;
cia = camel_internet_address_new ();