Amend r231079 by properly shifting up the existing arguments in
rpc_main.c's insarg() function. I had forgotten to put this in my patch queue, sorry. Pointy hat to: me MFC after: 1 week
This commit is contained in:
parent
7568a91a59
commit
9df8133640
@ -953,7 +953,7 @@ insarg(int place, const char *cp)
|
||||
}
|
||||
|
||||
/* Move up existing arguments */
|
||||
for (i = argcount - 1; i > place; i--)
|
||||
for (i = argcount - 1; i >= place; i--)
|
||||
arglist[i + 1] = arglist[i];
|
||||
|
||||
arglist[place] = xstrdup(cp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user