Merge pull request #3113 from akallabeth/remove_broken_rdpdr_check

Removed broken check, fixes #3112
This commit is contained in:
Hardening 2016-02-05 11:12:48 +01:00
commit 7534876209

View 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;