diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-05-27 21:48:23 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-05-27 21:48:23 -0400 |
commit | d28aac66dca51fdd6d1683e90d9285c97ffa1e70 (patch) | |
tree | 1109847ffe8472476245291c470ed2dec82ffba7 | |
parent | 2fc327cf38c3e207da78a01153ff52555a38a993 (diff) |
reduced printing in nodelink
-rw-r--r-- | nodelink.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -19,9 +19,9 @@ link* newlink(node* to) { static void printlink(char* name, link* conn) { if (conn->desc[0]) - printf("Link to %s: %s\n", name, conn->desc); + printf("%s: %s\n", name, conn->desc); else - printf("Link to %s\n", name); + printf("%s\n", name); } static void printeach(strbstnode* loc, char reprint) { @@ -38,6 +38,5 @@ static void printeach(strbstnode* loc, char reprint) { } void printnode(node* root) { - printf("Root node\n"); printeach(root->links->head, 1); } |