--- servers/slapd/filter.c 1998/08/15 22:25:51 1.2.4.1 +++ servers/slapd/filter.c 1998/10/20 23:24:28 1.3.10.1 @@ -1,5 +1,7 @@ /* filter.c - routines for parsing and dealing with filters */ +#include "portable.h" + #include #include #include @@ -157,7 +159,7 @@ get_filter( Connection *conn, BerElement Debug( LDAP_DEBUG_FILTER, "NOT\n", 0, 0, 0 ); (void) ber_skip_tag( ber, &len ); if ( (err = get_filter( conn, ber, &f->f_not, &ftmp )) == 0 ) { - if (ftmp == NULL) ftmp = strdup(""); + if (ftmp == NULL) ftmp = strdup(""); *fstr = ch_malloc( 4 + strlen( ftmp ) ); sprintf( *fstr, "(!%s)", ftmp ); free( ftmp );