summaryrefslogtreecommitdiffabout
path: root/kmicromail/libetpan/smtp/mailsmtp.c
Side-by-side diff
Diffstat (limited to 'kmicromail/libetpan/smtp/mailsmtp.c') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/libetpan/smtp/mailsmtp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kmicromail/libetpan/smtp/mailsmtp.c b/kmicromail/libetpan/smtp/mailsmtp.c
index b3be432..3ab1d11 100644
--- a/kmicromail/libetpan/smtp/mailsmtp.c
+++ b/kmicromail/libetpan/smtp/mailsmtp.c
@@ -192,6 +192,8 @@ int mailsmtp_helo(mailsmtp * session)
switch (r) {
case 250:
+ session->esmtp = 0;
+ session->auth = MAILSMTP_AUTH_NOT_CHECKED;
return MAILSMTP_NO_ERROR;
case 504: