Diffstat (limited to 'kmicromail/libetpan/smtp/mailsmtp_helper.c') (more/less context) (show whitespace changes)
-rw-r--r-- | kmicromail/libetpan/smtp/mailsmtp_helper.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/kmicromail/libetpan/smtp/mailsmtp_helper.c b/kmicromail/libetpan/smtp/mailsmtp_helper.c index 32d6564..7995377 100644 --- a/kmicromail/libetpan/smtp/mailsmtp_helper.c +++ b/kmicromail/libetpan/smtp/mailsmtp_helper.c | |||
@@ -38,25 +38,21 @@ | |||
38 | #include <stdlib.h> | 38 | #include <stdlib.h> |
39 | #include "mail.h" | 39 | #include "mail.h" |
40 | 40 | ||
41 | int mailsmtp_init(mailsmtp * session) | 41 | int mailsmtp_init(mailsmtp * session) |
42 | { | 42 | { |
43 | int r; | 43 | int r; |
44 | session->esmtp = 0; | 44 | |
45 | r = mailesmtp_ehlo(session); | 45 | r = mailesmtp_ehlo(session); |
46 | 46 | ||
47 | if (r == MAILSMTP_NO_ERROR) { | 47 | if (r == MAILSMTP_NO_ERROR) |
48 | // session->esmtp = TRUE; | ||
49 | return MAILSMTP_NO_ERROR; | 48 | return MAILSMTP_NO_ERROR; |
50 | } | ||
51 | 49 | ||
52 | r = mailsmtp_helo(session); | 50 | r = mailsmtp_helo(session); |
53 | /* if (r == MAILSMTP_NO_ERROR) { */ | 51 | if (r == MAILSMTP_NO_ERROR) |
54 | /* session->esmtp = FALSE; */ | 52 | return MAILSMTP_NO_ERROR; |
55 | /* return MAILSMTP_NO_ERROR; */ | ||
56 | /* } */ | ||
57 | 53 | ||
58 | return r; | 54 | return r; |
59 | } | 55 | } |
60 | 56 | ||
61 | 57 | ||
62 | 58 | ||