From eef3850689a129ba5fbd91cac2f9217387450427 Mon Sep 17 00:00:00 2001 From: dc254kw Date: Fri, 29 Nov 2019 12:16:27 +0100 Subject: [PATCH] program.c --- program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program.c b/program.c index 1d06b8d..3290e0c 100644 --- a/program.c +++ b/program.c @@ -31,7 +31,7 @@ assert(r); struct tree* node = calloc(1,sizeof(struct node)); memcpy(node->value,buffer,SIZE); - return node; + return *node; }; void traverse(struct node* tree){