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:
committed by
Jeffrey Stedfast
parent
90da9523a1
commit
09ea76a2c2
@ -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.
|
||||
|
||||
@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user