[haiku-commits] r43050 - haiku/trunk/src/add-ons/mail_daemon/outbound_protocols/smtp

  • From: pulkomandy@xxxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 31 Oct 2011 23:39:58 +0100 (CET)

Author: pulkomandy
Date: 2011-10-31 23:39:58 +0100 (Mon, 31 Oct 2011)
New Revision: 43050
Changeset: https://dev.haiku-os.org/changeset/43050
Ticket: https://dev.haiku-os.org/ticket/7557

Modified:
   haiku/trunk/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp
Log:
Wrong fd count given to select. Fixes #7557.


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:05:24 UTC (rev 43049)
+++ haiku/trunk/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp        
2011-10-31 22:39:58 UTC (rev 43050)
@@ -964,7 +964,7 @@
             result = 1;
         else
 #endif
-            result = select(32, &fds, NULL, NULL, &tv);
+            result = select(1, &fds, NULL, NULL, &tv);
        if (result < 0)
                return errno;
 


Other related posts: