aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/providers/sendmail/camel-sendmail-transport.c6
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/camel/providers/sendmail/camel-sendmail-transport.c b/camel/providers/sendmail/camel-sendmail-transport.c
index 58993da96d..7b3b7d0145 100644
--- a/camel/providers/sendmail/camel-sendmail-transport.c
+++ b/camel/providers/sendmail/camel-sendmail-transport.c
@@ -203,7 +203,7 @@ sendmail_send_to (CamelTransport *transport, CamelMimeMessage *message,
n = bcc->next;
camel_medium_add_header (CAMEL_MEDIUM (message), "Bcc", bcc->data);
g_free (bcc->data);
- g_slist_free1 (bcc);
+ g_slist_free_1 (bcc);
bcc = n;
}
@@ -237,9 +237,11 @@ sendmail_send_to (CamelTransport *transport, CamelMimeMessage *message,
n = bcc->next;
camel_medium_add_header (CAMEL_MEDIUM (message), "Bcc", bcc->data);
g_free (bcc->data);
- g_slist_free1 (bcc);
+ g_slist_free_1 (bcc);
bcc = n;
}
+
+ return FALSE;
}
static char *
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c
index 561ccbc4c5..16a4749779 100644
--- a/camel/providers/smtp/camel-smtp-transport.c
+++ b/camel/providers/smtp/camel-smtp-transport.c
@@ -1304,7 +1304,7 @@ smtp_data (CamelSmtpTransport *transport, CamelMimeMessage *message, gboolean ha
n = bcc->next;
camel_medium_add_header (CAMEL_MEDIUM (message), "Bcc", bcc->data);
g_free (bcc->data);
- g_slist_free1 (bcc);
+ g_slist_free_1 (bcc);
bcc = n;
}