[warnings] fix clang-tidy issues in channels

This commit is contained in:
akallabeth
2024-08-29 15:10:27 +02:00
parent 36c3184a0f
commit 47e40dd7a5
16 changed files with 67 additions and 72 deletions

View File

@@ -474,7 +474,7 @@ PVIRTUALCHANNELENTRY freerdp_channels_load_static_addin_entry(LPCSTR pszName, LP
{
if (strncmp(table->name, pszName, MAX_PATH) == 0)
{
if (type && strncmp(table->type, type, MAX_PATH))
if (type && (strncmp(table->type, type, MAX_PATH) != 0))
continue;
if (pszSubsystem != NULL)