0024-skill: Always NULL-terminate argv.
The memmove() itself does not move the NULL-terminator, because nargs is decremented first. Copy how skill_sig_option() does it: decrement nargs last, and remove the "if (nargs - i)" (we are in "while (i < nargs)").
This commit is contained in:
parent
fa7ea000ce
commit
18efff2a1f
Loading…
Reference in New Issue
Block a user