Debug( LDAP_DEBUG_FILTER, "SUBSTRINGS\n", 0, 0, 0 );
#endif
err = get_substring_filter( conn, ber, f, text );
+ if( err != LDAP_SUCCESS ) {
+ break;
+ }
+ assert( f->f_sub != NULL );
break;
case LDAP_FILTER_GE:
if ( err != LDAP_SUCCESS ) {
break;
}
+ assert( f->f_ava != NULL );
break;
case LDAP_FILTER_LE:
if ( err != LDAP_SUCCESS ) {
break;
}
+ assert( f->f_ava != NULL );
break;
case LDAP_FILTER_PRESENT: {
if ( err != LDAP_SUCCESS ) {
break;
}
+ assert( f->f_ava != NULL );
break;
case LDAP_FILTER_AND:
if ( err != LDAP_SUCCESS ) {
break;
}
+ assert( f->f_and != NULL );
break;
case LDAP_FILTER_OR:
if ( err != LDAP_SUCCESS ) {
break;
}
+ assert( f->f_or != NULL );
break;
case LDAP_FILTER_NOT:
if ( err != LDAP_SUCCESS ) {
break;
}
+ assert( f->f_not != NULL );
break;
case LDAP_FILTER_EXT: