From 74ddcac51f2253bd45aaf3392882bf1538fac710 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 31 Oct 2011 22:52:18 +0000 Subject: [PATCH] Sorry, fix #7557 for real. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43051 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 f3341aefa7..c13b8048e2 100644 --- a/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp +++ b/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp @@ -964,7 +964,7 @@ SMTPProtocol::ReceiveResponse(BString &out) result = 1; else #endif - result = select(1, &fds, NULL, NULL, &tv); + result = select(1 + fSocket, &fds, NULL, NULL, &tv); if (result < 0) return errno;