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:
dim 2012-02-06 12:08:41 +00:00
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);