telegrafista
This commit is contained in:
parent
81cc3046b1
commit
fb83ea7a4e
@ -127,7 +127,7 @@ int main (){
|
||||
char line[MAX];
|
||||
fgets(line, MAX, stdin);
|
||||
line[strlen(line)-1] = '\0';
|
||||
if(line[0] == '\n'){
|
||||
if(line[0] == '\0'){
|
||||
destroy(root);
|
||||
return 0;
|
||||
}
|
||||
@ -135,5 +135,7 @@ int main (){
|
||||
printf("\n");
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
//destroy(root);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user