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
This commit is contained in:
Jeffrey Stedfast
2001-01-16 22:28:16 +00:00
committed by Jeffrey Stedfast
parent 90da9523a1
commit 09ea76a2c2
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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 */