From 024f7fa4d6af92a7573f163fcc8dccfecb5a17f9 Mon Sep 17 00:00:00 2001 From: Martin Fleisz Date: Mon, 7 Mar 2022 15:05:04 +0100 Subject: [PATCH] rdpdr: Fix detection of device unplug --- libfreerdp/common/settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/common/settings.c b/libfreerdp/common/settings.c index ad7932dd7..357864471 100644 --- a/libfreerdp/common/settings.c +++ b/libfreerdp/common/settings.c @@ -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;