diff options
author | José Fonseca <jrfonseca@users.sourceforge.net> | 2003-08-11 14:30:56 +0000 |
---|---|---|
committer | José Fonseca <jrfonseca@users.sourceforge.net> | 2003-08-11 14:30:56 +0000 |
commit | c9aab90ba7b3b2974a51f5b4d7e422fbfca51ff4 (patch) | |
tree | d871bea2a7bc724d25e9e609cfc6583cadbcc5a1 | |
parent | 1e748b30a8d9ee0136d8047ed0c16c3ec9098caa (diff) |
Don't fail when libesmtp is compiled without openssl support (tox@centrum.cz).
-rw-r--r-- | smtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -359,7 +359,7 @@ void smtp_send(message_t *msg) goto failure; /* Set the SMTP Starttls extension. */ - if(!smtp_starttls_enable (session, identity->starttls)) + if(identity->starttls && !smtp_starttls_enable (session, identity->starttls)) goto failure; /* Do what's needed at application level to use authentication. */ |