From 09ea76a2c2e9d69447b4419cd71df6b0523d9eac Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 16 Jan 2001 22:28:16 +0000 Subject: Don't check errno as it's not being set. Fixes bug #1150. 2001-01-16 Jeffrey Stedfast * providers/smtp/camel-smtp-transport.c (smtp_rcpt): Don't check errno as it's not being set. Fixes bug #1150. svn path=/trunk/; revision=7547 --- camel/ChangeLog | 5 +++++ camel/providers/smtp/camel-smtp-transport.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 02b3e967d7..ae01e8896d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2001-01-16 Jeffrey Stedfast + + * providers/smtp/camel-smtp-transport.c (smtp_rcpt): Don't check + errno as it's not being set. Fixes bug #1150. + 2001-01-16 Jeffrey Stedfast Ugh, this design is ugly like my butt. diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 1176cca454..408806152d 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -571,8 +571,7 @@ smtp_rcpt (CamelSmtpTransport *transport, const char *recipient, CamelException if (!respbuf || strncmp (respbuf, "250", 3)) { g_free (respbuf); camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM, - _("RCPT TO response error: %s: mail not sent"), - g_strerror (errno)); + _("RCPT TO response error: mail not sent")); return FALSE; } } while (*(respbuf+3) == '-'); /* if we got "250-" then loop again */ -- cgit