--- servers/slapd/filter.c 1998/08/09 02:13:59 1.2 +++ servers/slapd/filter.c 1998/08/15 22:25:51 1.2.4.1 @@ -135,7 +135,7 @@ get_filter( Connection *conn, BerElement Debug( LDAP_DEBUG_FILTER, "AND\n", 0, 0, 0 ); if ( (err = get_filter_list( conn, ber, &f->f_and, &ftmp )) == 0 ) { - if (ftmp == NULL) ftmp = strdup(""); + if (ftmp == NULL) ftmp = strdup(""); *fstr = ch_malloc( 4 + strlen( ftmp ) ); sprintf( *fstr, "(&%s)", ftmp ); free( ftmp ); @@ -146,7 +146,7 @@ get_filter( Connection *conn, BerElement Debug( LDAP_DEBUG_FILTER, "OR\n", 0, 0, 0 ); if ( (err = get_filter_list( conn, ber, &f->f_or, &ftmp )) == 0 ) { - if (ftmp == NULL) ftmp = strdup(""); + if (ftmp == NULL) ftmp = strdup(""); *fstr = ch_malloc( 4 + strlen( ftmp ) ); sprintf( *fstr, "(|%s)", ftmp ); free( ftmp );