Changed listener callback arguments and return.

This commit is contained in:
Armin Novak
2015-04-21 15:57:25 +02:00
parent 90fa0e3fc6
commit 65a4c6e1fc
4 changed files with 10 additions and 14 deletions

View File

@@ -744,9 +744,8 @@ static void test_server_mainloop(freerdp_listener* instance)
while (1)
{
count = 32;
if (instance->GetEventHandles(instance, handles, &count))
count = instance->GetEventHandles(instance, handles, 32);
if (0 == count)
{
WLog_ERR(TAG, "Failed to get FreeRDP event handles");
break;