From 1b5bcee1ed41429ded31d5f198e0e58eca68b68d Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 24 Feb 2003 15:30:08 +0000 Subject: fixed a type-o that causes a segfault svn path=/trunk/; revision=20031 --- camel/providers/sendmail/camel-sendmail-transport.c | 2 +- camel/providers/smtp/camel-smtp-transport.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camel/providers/sendmail/camel-sendmail-transport.c b/camel/providers/sendmail/camel-sendmail-transport.c index 70abc68026..7ba567832b 100644 --- a/camel/providers/sendmail/camel-sendmail-transport.c +++ b/camel/providers/sendmail/camel-sendmail-transport.c @@ -123,7 +123,7 @@ sendmail_send_to (CamelTransport *transport, CamelMimeMessage *message, header = (struct _header_raw *) &CAMEL_MIME_PART (message)->headers; n = header->next; while (n != NULL) { - if (!strcasecmp (header->name, "Bcc")) { + if (!strcasecmp (n->name, "Bcc")) { header->next = n->next; tail->next = n; n->next = NULL; diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 0acdfeb4d1..d43f5c6e38 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -1288,7 +1288,7 @@ smtp_data (CamelSmtpTransport *transport, CamelMimeMessage *message, gboolean ha header = (struct _header_raw *) &CAMEL_MIME_PART (message)->headers; n = header->next; while (n != NULL) { - if (!strcasecmp (header->name, "Bcc")) { + if (!strcasecmp (n->name, "Bcc")) { header->next = n->next; tail->next = n; n->next = NULL; -- cgit