telegrafista

This commit is contained in:
Maryna Kravtsova 2020-12-03 15:04:15 +01:00
parent 34b4ad37fe
commit 81cc3046b1

View File

@ -128,11 +128,12 @@ int main (){
fgets(line, MAX, stdin); fgets(line, MAX, stdin);
line[strlen(line)-1] = '\0'; line[strlen(line)-1] = '\0';
if(line[0] == '\n'){ if(line[0] == '\n'){
break; destroy(root);
return 0;
} }
search(root, line); search(root, line);
printf("\n"); printf("\n");
printf("\n"); printf("\n");
} }
destroy(root); //destroy(root);
} }