diff options
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 02b3e967d7..ae01e8896d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,10 @@ 2001-01-16 Jeffrey Stedfast <fejj@ximian.com> + * 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 <fejj@ximian.com> + Ugh, this design is ugly like my butt. * camel-session.c (camel_session_query_cert_authenticator): New 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 */ |