SCP: Fix adjacent insertion of %n DO command arguments
This commit is contained in:
parent
2b112b0e13
commit
2203608f4a
1 changed files with 2 additions and 1 deletions
3
scp.c
3
scp.c
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Reference in a new issue