Removed broken check, fixes #3112
authorArmin Novak <armin.novak@thincast.com>
Fri, 5 Feb 2016 09:50:26 +0000 (10:50 +0100)
committerArmin Novak <armin.novak@thincast.com>
Fri, 5 Feb 2016 09:50:26 +0000 (10:50 +0100)
channels/rdpdr/client/devman.c

index 315339d..60a5cb4 100644 (file)
@@ -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;