aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nodelink.c5
1 files 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);
}