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){ }