aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-01-17 06:28:16 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-17 06:28:16 +0800
commit09ea76a2c2e9d69447b4419cd71df6b0523d9eac (patch)
treefd74ff7ca1c641567d88162bd0ed2c267b129566
parent90da9523a1db9f89384335f5fd07a4a09c67bf5c (diff)
downloadgsoc2013-evolution-09ea76a2c2e9d69447b4419cd71df6b0523d9eac.tar
gsoc2013-evolution-09ea76a2c2e9d69447b4419cd71df6b0523d9eac.tar.gz
gsoc2013-evolution-09ea76a2c2e9d69447b4419cd71df6b0523d9eac.tar.bz2
gsoc2013-evolution-09ea76a2c2e9d69447b4419cd71df6b0523d9eac.tar.lz
gsoc2013-evolution-09ea76a2c2e9d69447b4419cd71df6b0523d9eac.tar.xz
gsoc2013-evolution-09ea76a2c2e9d69447b4419cd71df6b0523d9eac.tar.zst
gsoc2013-evolution-09ea76a2c2e9d69447b4419cd71df6b0523d9eac.zip
Don't check errno as it's not being set. Fixes bug #1150.
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. svn path=/trunk/; revision=7547
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c3
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 */