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

fix ITS#3208

parent f64283cc
No related branches found
No related tags found
No related merge requests found
......@@ -968,7 +968,7 @@ put_vrFilter( BerElement *ber, const char *str_in )
0, 0, 0 );
#endif
next = strchr( str, '\0' );
if ( put_simple_filter( ber, str ) == -1 ) {
if ( put_simple_vrFilter( ber, str ) == -1 ) {
rc = -1;
goto done;
}
......@@ -1098,12 +1098,8 @@ put_simple_vrFilter(
goto done;
}
rule = "";
} else {
*rule++ = '\0';
}
if ( *str == '\0' && ( !rule || *rule == '\0' ) ) {
/* must have either type or rule */
goto done;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment