Fix parsing of smartcard options

This commit is contained in:
Armin Novak 2022-10-27 11:41:22 +02:00 committed by Martin Fleisz
parent 5e1d7c0f8d
commit 3dc5ac74a9

View File

@ -813,7 +813,7 @@ static BOOL parseSubOptions(rdpSettings* settings, const CmdLineSubOptions* opts
{
const CmdLineSubOptions* opt = &opts[xx];
if (option_equals(opt->optname, arg))
if (option_starts_with(opt->optname, arg))
{
const size_t optlen = strlen(opt->optname);
const char* val = &arg[optlen];