SCP: Fix adjacent insertion of %n DO command arguments

This commit is contained in:
Mark Pizzolato 2018-06-11 17:06:20 -07:00
parent 2b112b0e13
commit 2203608f4a

3
scp.c
View file

@ -3829,7 +3829,8 @@ for (ip = instr, op = tmpbuf; *ip && (op < oend); ) {
} }
ip = ip + 2; ip = ip + 2;
} }
*op++ = *ip++; /* literal character */ else
*op++ = *ip++; /* literal character */
} }
} }
*op = 0; /* term buffer */ *op = 0; /* term buffer */