From 5618c4e83564b298d0da33c917525a2de170ef3a Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Wed, 20 Dec 2006 21:09:28 +0000 Subject: [PATCH] Removed another SSL-related timeout crash git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19574 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp b/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp index 7f3cce062c..fb8c6f7557 100644 --- a/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp +++ b/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp @@ -990,7 +990,7 @@ SMTPProtocol::SendCommand(const char *cmd) D(bug("C:%s\n", cmd)); #ifdef USESSL - if (use_ssl) { + if (use_ssl && ssl) { if (SSL_write(ssl,cmd,::strlen(cmd)) < 0) return B_ERROR; } else