ref: af3a7da7626fe4fe8932556c3786388bdd2bc241
parent: 5627ff136277c6bd7e331d6b141a45e56f9b052b
author: gek169 <gek169>
date: Wed May 12 10:41:24 EDT 2021
Automatic commit.
--- a/include-demo/stringutil.h
+++ b/include-demo/stringutil.h
@@ -383,11 +383,10 @@
while(current_token_location > -1){
char* temp = strcatalloc(alloced_text+ current_token_location + len_token, "");
current->text = str_null_terminated_alloc(alloced_text,current_token_location);
- printf("TOKEN FOUND: '%s'", current->text);
free(alloced_text);
alloced_text = temp;
current_token_location = strfind(alloced_text, token);
- current->right = malloc(sizeof(strll));
+ current->right = calloc(1, sizeof(strll));
current = current->right;
}
return result;