mirror of https://github.com/FreeRDP/FreeRDP
Fixed return check for usbdk backend.
This commit is contained in:
parent
4692f00864
commit
c58db76e4c
|
@ -885,9 +885,13 @@ int freerdp_urbdrc_client_subsystem_entry(PFREERDP_URBDRC_SERVICE_ENTRY_POINTS p
|
|||
switch (rc)
|
||||
{
|
||||
case LIBUSB_SUCCESS:
|
||||
break;
|
||||
case LIBUSB_ERROR_NOT_FOUND:
|
||||
case LIBUSB_ERROR_NOT_SUPPORTED:
|
||||
WLog_WARN(TAG, "LIBUSB_OPTION_USE_USBDK %s [%d]", libusb_strerror(rc), rc);
|
||||
break;
|
||||
default:
|
||||
WLog_ERR(TAG, "LIBUSB_OPTION_USE_USBDK %s [%d]", libusb_strerror(rc), rc);
|
||||
goto fail;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue