Actually use the custom print function in prick_bnode_print for value
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user