cv8
This commit is contained in:
parent
4fc2069008
commit
98b584d9b6
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user