From 6dd333c4c8e8b4ba7eaeffc02b0034cc804d6180 Mon Sep 17 00:00:00 2001 From: Mike McDonald Date: Mon, 23 Feb 2015 09:24:43 -0500 Subject: [PATCH] Modified virtual channel open (as a result of an MCS channel join) to do a case-insensitive comparison of the virtual channel name. --- libfreerdp/core/peer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;