From 9a62cd34f4a1d21e381ef1e995c145b44098be8b Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 11 Dec 2025 21:11:56 +0000 Subject: [PATCH] Actually use the custom print function in prick_bnode_print for value --- prick_btree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prick_btree.h b/prick_btree.h index 1b8ce43..03ada08 100644 --- a/prick_btree.h +++ b/prick_btree.h @@ -176,7 +176,7 @@ void prick_bnode_print(FILE *fp, prick_print_fn print, prick_bnode_t *root) if (!root) return; fprintf(fp, "("); - print(fp, root->value); + print(root->value); if (root->left) { fprintf(fp, " l");