1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

Pageant: fix dupprintf/dupvprintf error.

This mistake was introduced very recently, in commit de38a4d82..
This commit is contained in:
Simon Tatham 2020-01-29 06:13:41 +00:00
parent b7f011aed7
commit b1bb07a89c

View File

@ -317,7 +317,7 @@ static PRINTF_LIKE(4, 5) void failure(PageantClient *pc,
if (!pc->suppress_logging) {
va_list ap;
va_start(ap, fmt);
char *msg = dupprintf(fmt, ap);
char *msg = dupvprintf(fmt, ap);
va_end(ap);
pageant_client_log(pc, reqid, "reply: SSH_AGENT_FAILURE (%s)", msg);
sfree(msg);