mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 08:54:38 +09:00
rdpdr: Fix detection of device unplug
This commit is contained in:
committed by
akallabeth
parent
25e8a362b1
commit
024f7fa4d6
@@ -369,7 +369,7 @@ RDPDR_DEVICE* freerdp_device_new(UINT32 Type, size_t count, const char* args[])
|
||||
goto fail;
|
||||
}
|
||||
if (count > 2)
|
||||
device.drive->automount = (args[2] == NULL) ? FALSE : TRUE;
|
||||
device.drive->automount = (args[2] == NULL) ? TRUE : FALSE;
|
||||
break;
|
||||
default:
|
||||
goto fail;
|
||||
|
||||
Reference in New Issue
Block a user