mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
winpr: Fix parsing of comma separated values if list is an empty string
This commit is contained in:
committed by
akallabeth
parent
0ab809d696
commit
a29cffbb6d
@@ -490,7 +490,7 @@ char** CommandLineParseCommaSeparatedValuesEx(const char* name, const char* list
|
||||
|
||||
*count = 0;
|
||||
|
||||
if (!list)
|
||||
if (!list || strlen(list) == 0)
|
||||
{
|
||||
if (name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user