Premoga
This commit is contained in:
parent
dc8019ad2d
commit
d7454318bf
@ -47,9 +47,9 @@ bool find_the_incorrect(struct tree* tree) {
|
||||
if (tree == NULL)
|
||||
return false;
|
||||
|
||||
if (tree->value &&
|
||||
(strcspn(tree->value, "*") != strlen(tree->value) &&
|
||||
strcspn(tree->value, "?") != strlen(tree->value))) {
|
||||
if
|
||||
((strcspn(tree->value, "*") != strlen(tree->value) &&
|
||||
strcspn(tree->value, "?") != strlen(tree->value)) || (strcspn(tree->value, ".") != strlen(tree->value) )) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user