From 2dd8c1ac1b44f68a2d85aafd88dfca72be0485f6 Mon Sep 17 00:00:00 2001 From: dc254kw Date: Fri, 29 Nov 2019 12:15:49 +0100 Subject: [PATCH] program.c --- program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program.c b/program.c index 8d09136..1d06b8d 100644 --- a/program.c +++ b/program.c @@ -31,8 +31,8 @@ assert(r); struct tree* node = calloc(1,sizeof(struct node)); memcpy(node->value,buffer,SIZE); - return node->value; - } + return node; + }; void traverse(struct node* tree){ }