From d28aac66dca51fdd6d1683e90d9285c97ffa1e70 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Wed, 27 May 2020 21:48:23 -0400 Subject: reduced printing in nodelink --- nodelink.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nodelink.c b/nodelink.c index 6e3019b..0aea005 100644 --- a/nodelink.c +++ b/nodelink.c @@ -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); } -- cgit