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
William Pitcock 2012-07-25 17:49:54 -05:00
parent a15d5eefeb
commit 1db1281593
1 changed files with 1 additions and 1 deletions

View File

@ -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++;