Minor fix:

- SelectableCore:
  - Bug fix: Incorrect handle passed to Select for RemoteClient
This commit is contained in:
Charl Wentzel
2018-11-04 19:02:01 +02:00
parent d18e046e57
commit d36bf3230b

View File

@@ -993,7 +993,7 @@ int CSelectableCore::OpenRemoteClientSocket( THandle * Handle )
// Add to Select Lists // Add to Select Lists
if (Selector) { if (Selector) {
Selector->Add( (*RemoteClient)->FD, true, true, Handle, this ); Selector->Add( (*RemoteClient)->FD, true, true, *RemoteClient, this );
} }
return (*RemoteClient)->FD; return (*RemoteClient)->FD;