This commit is contained in:
Oleksandr Hryshchenko 2021-11-25 23:26:42 +00:00
parent 4fc2069008
commit 98b584d9b6

View File

@ -55,6 +55,8 @@ struct binary* productAppend(struct binary* myTree, char* product){
break;
if(itrNode->right->value[0] != '*')
itrNode = (!productAppend(itrNode->right, product)) ? itrNode : productAppend(itrNode->right, product);
if(!itrNode)
return NULL;
}
if(!endingFound && !itrNode->left) {