Fixed compile warnings
This commit is contained in:
parent
32a1f2cc66
commit
fa59c4b705
@ -904,7 +904,7 @@ BOOL client_auto_reconnect_ex(freerdp* instance, BOOL (*window_events)(freerdp*
|
|||||||
if (freerdp_reconnect(instance))
|
if (freerdp_reconnect(instance))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
switch (freerdp_get_last_error(instance))
|
switch (freerdp_get_last_error(instance->context))
|
||||||
{
|
{
|
||||||
case FREERDP_ERROR_CONNECT_CANCELLED:
|
case FREERDP_ERROR_CONNECT_CANCELLED:
|
||||||
WLog_WARN(TAG, "Autoreconnect aborted by user");
|
WLog_WARN(TAG, "Autoreconnect aborted by user");
|
||||||
|
@ -63,7 +63,7 @@ static void mf_server_main_loop(freerdp_listener* instance)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
status = WaitForMultipleObjects(handles, count, FALSE, INFINITE);
|
status = WaitForMultipleObjects(count, handles, FALSE, INFINITE);
|
||||||
if (status == WAIT_FAILED)
|
if (status == WAIT_FAILED)
|
||||||
{
|
{
|
||||||
WLog_ERR(TAG, "WaitForMultipleObjects failed");
|
WLog_ERR(TAG, "WaitForMultipleObjects failed");
|
||||||
|
Loading…
Reference in New Issue
Block a user