rdpdr: Fix detection of device unplug
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user