diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-02-24 23:30:08 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-02-24 23:30:08 +0800 |
commit | 1b5bcee1ed41429ded31d5f198e0e58eca68b68d (patch) | |
tree | 3afadbc68e861760a0832f56d585df43ce027210 /camel/providers | |
parent | 2e441bc212e35d3212baa4a6c51f8be96704632b (diff) | |
download | gsoc2013-evolution-1b5bcee1ed41429ded31d5f198e0e58eca68b68d.tar.gz gsoc2013-evolution-1b5bcee1ed41429ded31d5f198e0e58eca68b68d.tar.zst gsoc2013-evolution-1b5bcee1ed41429ded31d5f198e0e58eca68b68d.zip |
fixed a type-o that causes a segfault
svn path=/trunk/; revision=20031
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/sendmail/camel-sendmail-transport.c | 2 | ||||
-rw-r--r-- | 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; |