From a95ca34a1020e42913c4538db1d5ef9497c9a35c Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 1 Feb 2022 22:12:25 +0800 Subject: [PATCH] Fix incorrect algolist TRACE print --- common-algo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common-algo.c b/common-algo.c index f3961c2..abb7335 100644 --- a/common-algo.c +++ b/common-algo.c @@ -359,7 +359,7 @@ void buf_put_algolist_all(buffer * buf, const algo_type localalgos[], int useall len = buf->pos - startpos - 4; buf_setpos(buf, startpos); buf_putint(buf, len); - TRACE(("algolist add %d '%*s'", len, len, buf_getptr(buf, len))) + TRACE(("algolist add %d '%.*s'", len, len, buf_getptr(buf, len))) buf_incrwritepos(buf, len); }