From c430d5eeb5c7cc0f5692d2741b30dd1e7bf15180 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Fri, 5 Feb 2016 10:50:26 +0100 Subject: [PATCH] Removed broken check, fixes #3112 --- channels/rdpdr/client/devman.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/channels/rdpdr/client/devman.c b/channels/rdpdr/client/devman.c index 315339d92..60a5cb474 100644 --- a/channels/rdpdr/client/devman.c +++ b/channels/rdpdr/client/devman.c @@ -112,9 +112,6 @@ static UINT devman_register_device(DEVMAN* devman, DEVICE* device) if (!devman || !device) return ERROR_INVALID_PARAMETER; - if (device->type != RDPDR_DTYP_FILESYSTEM) - return CHANNEL_RC_OK; - device->id = devman->id_sequence++; key = (void*) (size_t) device->id;