mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
Fix incorrect algolist TRACE print
This commit is contained in:
parent
4c2d2fc3ac
commit
a95ca34a10
@ -359,7 +359,7 @@ void buf_put_algolist_all(buffer * buf, const algo_type localalgos[], int useall
|
|||||||
len = buf->pos - startpos - 4;
|
len = buf->pos - startpos - 4;
|
||||||
buf_setpos(buf, startpos);
|
buf_setpos(buf, startpos);
|
||||||
buf_putint(buf, len);
|
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);
|
buf_incrwritepos(buf, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user