X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap%2Fftest.c;h=ea9f29e0824ba7dc941ba1afd92c1cc54add6214;hb=cdbbed6c3b6a4f0b69fab6e37c3a098ca5d12620;hp=f8f96a5f30999b86cc6b343e916bb384faa21347;hpb=3c598e89fb34a892d369a138daa8c3314294493c;p=openldap diff --git a/libraries/libldap/ftest.c b/libraries/libldap/ftest.c index f8f96a5f30..ea9f29e082 100644 --- a/libraries/libldap/ftest.c +++ b/libraries/libldap/ftest.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2004 The OpenLDAP Foundation. + * Copyright 1998-2005 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -25,6 +25,7 @@ #include #include "ldap_pvt.h" +#include "lber_pvt.h" #include "ldif.h" #include "lutil.h" @@ -85,7 +86,7 @@ main( int argc, char *argv[] ) static int filter2ber( char *filter ) { int rc; - struct berval bv = {0, NULL}; + struct berval bv = BER_BVNULL; BerElement *ber; printf( "Filter: %s\n", filter );