argvsplit: fix splitting of arguments
There used to be a hack here, which was removed which caused other splitting later. This was a vestige of that hack, which is no longer needed with proper fragments.pull/36/head
parent
a15d5eefeb
commit
1db1281593
|
@ -64,7 +64,7 @@ pkg_argv_split(const char *src, int *argc, char ***argv)
|
|||
}
|
||||
else if (isspace(*src_iter))
|
||||
{
|
||||
if (*(src_iter + 1) == '-' && (*argv)[argc_count] != NULL)
|
||||
if ((*argv)[argc_count] != NULL)
|
||||
{
|
||||
argc_count++, dst_iter++;
|
||||
|
||||
|
|
Loading…
Reference in New Issue