]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slapcat.c
initialize AttributeAssertion before using
[openldap] / servers / slapd / slapcat.c
index 7daeaa645a185f0c25be1699e3cbad8cc2c07793..e8a4beda5aab7166306059eb2108c1c0a5ad0925 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2004 The OpenLDAP Foundation.
+ * Copyright 1998-2005 The OpenLDAP Foundation.
  * Portions Copyright 1998-2003 Kurt D. Zeilenga.
  * Portions Copyright 2003 IBM Corporation.
  * All rights reserved.
@@ -87,20 +87,6 @@ slapcat( int argc, char **argv )
                        }
                }
 
-               if ( retrieve_ctxcsn == 0 ) {
-                       if ( is_entry_syncProviderSubentry( e ) ) {
-                               be_entry_release_r( &op, e );
-                               continue;
-                       }
-               }
-
-               if ( retrieve_synccookie == 0 ) {
-                       if ( is_entry_syncConsumerSubentry( e ) ) {
-                               be_entry_release_r( &op, e );
-                               continue;
-                       }
-               }
-
                if( verbose ) {
                        printf( "# id=%08lx\n", (long) id );
                }