Browse Source

HPCC-22486 Fix wait_multiple return num vs readySocks discrepency

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
Jake Smith 6 years ago
parent
commit
38011c1a2a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      system/jlib/jsocket.cpp

+ 1 - 0
system/jlib/jsocket.cpp

@@ -6742,6 +6742,7 @@ int wait_multiple(bool isRead,               //IN   true if wait read, false it
 #ifdef _DEBUG
         DBGLOG("%s",dbgSB.str());
 #endif
+        res = readySocks.ordinality();
     }
     else if (res == SOCKET_ERROR)
     {