mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Modified GetEventHandles of listener
Now using nCount as in and out argument. When called, set nCount to the number of available handles. This value is checked and an error returned, if not enough handles are available.
This commit is contained in:
@@ -744,7 +744,7 @@ static void test_server_mainloop(freerdp_listener* instance)
|
||||
|
||||
while (1)
|
||||
{
|
||||
count = 0;
|
||||
count = 32;
|
||||
|
||||
if (instance->GetEventHandles(instance, handles, &count))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user