Skip to content
Snippets Groups Projects
Commit 74773777 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix extended matching when rule is missing (ITS#3216)

parent 70cfbf58
Branches
Tags
No related merge requests found
......@@ -1090,7 +1090,6 @@ put_simple_vrFilter(
{
char *rule = strchr( str, ':' );
*rule++ = '\0';
if( rule == NULL ) {
/* must have attribute */
......@@ -1098,6 +1097,8 @@ put_simple_vrFilter(
goto done;
}
rule = "";
} else {
*rule++ = '\0';
}
if ( *str == '\0' && ( !rule || *rule == '\0' ) ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment