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