fx an off-by-one memcpy error

This commit is contained in:
Enno Rehling 2011-08-28 06:51:21 +02:00
parent edfa266a32
commit d55d62278e
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ static char *get_command(const order * ord, char *sbuffer, size_t size)
++size;
--bufp;
}
memcpy(bufp + 1, "[...]", 6); /* TODO: make sure this only happens in eval_command */
memcpy(bufp, "[...]", 6); /* TODO: make sure this only happens in eval_command */
bufp += 6;
}
}