Author: pulkomandy Date: 2011-10-31 23:52:18 +0100 (Mon, 31 Oct 2011) New Revision: 43051 Changeset: https://dev.haiku-os.org/changeset/43051 Ticket: https://dev.haiku-os.org/ticket/7557 Modified: haiku/trunk/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp Log: Sorry, fix #7557 for real. Modified: haiku/trunk/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp =================================================================== --- haiku/trunk/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp 2011-10-31 22:39:58 UTC (rev 43050) +++ haiku/trunk/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp 2011-10-31 22:52:18 UTC (rev 43051) @@ -964,7 +964,7 @@ result = 1; else #endif - result = select(1, &fds, NULL, NULL, &tv); + result = select(1 + fSocket, &fds, NULL, NULL, &tv); if (result < 0) return errno;