diff options
Diffstat (limited to 'camel/providers/smtp/camel-smtp-transport.c')
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 0d1ef1e95e..9cd5d4ba6a 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -617,7 +617,7 @@ smtp_send (CamelTransport *transport, CamelMedium *message, CamelException *ex) bcc = camel_mime_message_get_recipients (CAMEL_MIME_MESSAGE (message), CAMEL_RECIPIENT_TYPE_BCC); /* get all of the To addresses into our recipient list */ - len = CAMEL_ADDRESS (to)->addresses->len; + len = camel_address_length (CAMEL_ADDRESS (to)); for (index = 0; index < len; index++) { const char *addr; @@ -626,7 +626,7 @@ smtp_send (CamelTransport *transport, CamelMedium *message, CamelException *ex) } /* get all of the Cc addresses into our recipient list */ - len = CAMEL_ADDRESS (cc)->addresses->len; + len = camel_address_length (CAMEL_ADDRESS (cc)); for (index = 0; index < len; index++) { const char *addr; @@ -635,7 +635,7 @@ smtp_send (CamelTransport *transport, CamelMedium *message, CamelException *ex) } /* get all of the Bcc addresses into our recipient list */ - len = CAMEL_ADDRESS (bcc)->addresses->len; + len = camel_address_length (CAMEL_ADDRESS (bcc)); for (index = 0; index < len; index++) { const char *addr; |