diff options
-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); } |