Fixed wrong error message

This commit is contained in:
Armin Novak 2021-07-27 15:03:35 +02:00 committed by akallabeth
parent 35474abc24
commit a788145519
1 changed files with 11 additions and 1 deletions

View File

@ -890,7 +890,17 @@ static void first_hotplug(rdpdrPlugin* rdpdr)
if ((error = handle_hotplug(rdpdr)))
{
WLog_ERR(TAG, "handle_hotplug failed with error %" PRIu32 "!", error);
switch (error)
{
case ERROR_DISK_CHANGE:
case CHANNEL_RC_OK:
case ERROR_OPEN_FAILED:
case ERROR_CALL_NOT_IMPLEMENTED:
break;
default:
WLog_ERR(TAG, "handle_hotplug failed with error %" PRIu32 "!", error);
break;
}
}
}