summaryrefslogtreecommitdiffstats
path: root/winpr/libwinpr/utils/cmdline.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:25:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:25:11 +0000
commit941f9937e0744d18de4cc0afa71e0caa925d82ac (patch)
tree67872b86dbf72d73e91188bf8de12594668fe4aa /winpr/libwinpr/utils/cmdline.c
parentAdding upstream version 3.3.0+dfsg1. (diff)
downloadfreerdp3-941f9937e0744d18de4cc0afa71e0caa925d82ac.tar.xz
freerdp3-941f9937e0744d18de4cc0afa71e0caa925d82ac.zip
Adding upstream version 3.5.0+dfsg1.upstream/3.5.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'winpr/libwinpr/utils/cmdline.c')
-rw-r--r--winpr/libwinpr/utils/cmdline.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/winpr/libwinpr/utils/cmdline.c b/winpr/libwinpr/utils/cmdline.c
index 3d93c0a..a524d62 100644
--- a/winpr/libwinpr/utils/cmdline.c
+++ b/winpr/libwinpr/utils/cmdline.c
@@ -515,13 +515,6 @@ static size_t get_element_count(const char* list, BOOL* failed, BOOL fullquoted)
if (!fullquoted)
{
int now = is_quoted(*it);
- if ((quoted == 0) && !first)
- {
- WLog_ERR(TAG, "Invalid argument (misplaced quote) '%s'", list);
- *failed = TRUE;
- return 0;
- }
-
if (now == quoted)
quoted = 0;
else if (quoted == 0)