diff --git a/libfreerdp/core/peer.c b/libfreerdp/core/peer.c index 55b6180f0..0446e71f4 100644 --- a/libfreerdp/core/peer.c +++ b/libfreerdp/core/peer.c @@ -62,7 +62,7 @@ static HANDLE freerdp_peer_virtual_channel_open(freerdp_peer* client, const char if (!mcsChannel->joined) continue; - if (strncmp(name, mcsChannel->Name, length) == 0) + if (_strnicmp(name, mcsChannel->Name, length) == 0) { joined = TRUE; break;