mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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
0dac0ed841
commit
ade215fd5a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231080
|
@ -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…
Reference in a new issue