summaryrefslogtreecommitdiffstats
path: root/winpr/libwinpr/utils/cmdline.c
diff options
context:
space:
mode:
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)