# HG changeset patch # User Matt Johnston # Date 1643724745 -28800 # Node ID d7247462fa0def4b4702daa5d06385701f5ab3c4 # Parent 66a3fabe48705634148f9f96cea7c4dc05d12809 Fix incorrect algolist TRACE print diff -r 66a3fabe4870 -r d7247462fa0d common-algo.c --- a/common-algo.c Tue Feb 01 15:51:01 2022 +0800 +++ b/common-algo.c Tue Feb 01 22:12:25 2022 +0800 @@ -359,7 +359,7 @@ 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); }