aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-21 03:57:38 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-21 03:57:38 +0000
commit36592bf7cd710a4731cd8bebcd61f5bae064b821 (patch)
tree1a80c723b281befaea69de6c7a693e75c36aebb1 /driver.c
parent5f3a652a16fdc896a8273268d598227d1bf6a2b1 (diff)
downloadfetchmail-36592bf7cd710a4731cd8bebcd61f5bae064b821.tar.gz
fetchmail-36592bf7cd710a4731cd8bebcd61f5bae064b821.tar.bz2
fetchmail-36592bf7cd710a4731cd8bebcd61f5bae064b821.zip
Crap out sooner on SMTP failure.
svn path=/trunk/; revision=357
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index a10867cc..9f7f403e 100644
--- a/driver.c
+++ b/driver.c
@@ -402,7 +402,7 @@ struct hostrec *queryctl; /* query control record */
* Since we're really only fetching mail for one user
* per host query, we can be simpler
*/
- if (SMTP_rcpt(mboxfd, queryctl->localname) == SM_UNRECOVERABLE)
+ if (SMTP_rcpt(mboxfd, queryctl->localname) != SM_OK)
return(PS_SMTP);
#endif /* SMTP_RESEND */
SMTP_data(mboxfd);