This commit is contained in:
Maryna Kravtsova 2020-11-22 16:12:43 +01:00
parent 1fd6b53ecc
commit 6edcf36f10

View File

@ -42,9 +42,9 @@ void search(struct tree* this){
int x = strlen(buffer); int x = strlen(buffer);
buffer[x-1]='\0'; buffer[x-1]='\0';
if(this == NULL){ /*if(this == NULL){
return; return;
} } */
if(buffer[0] == 'a'){ if(buffer[0] == 'a'){
if(this->left->value[0] == '*'){ if(this->left->value[0] == '*'){
printf("%s\n", this->left->value); printf("%s\n", this->left->value);