]> git.sur5r.net Git - openldap/commitdiff
Cleanup
authorKurt Zeilenga <kurt@openldap.org>
Thu, 18 Dec 2003 19:48:40 +0000 (19:48 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 18 Dec 2003 19:48:40 +0000 (19:48 +0000)
clients/tools/ldapdelete.c

index eb6e4eb1d11ac8fce1bf11d89ebdc21d68b15b51..168be83811916981f1fb3b8f8b56c6e25093da75 100644 (file)
@@ -277,7 +277,6 @@ static int dodelete(
 
 /*
  * Delete all the children of an entry recursively until leaf nodes are reached.
- *
  */
 static int deletechildren(
        LDAP *ld,
@@ -286,7 +285,7 @@ static int deletechildren(
        LDAPMessage *res, *e;
        int entries;
        int rc;
-       static char *attrs[] = { "1.1", NULL };
+       static char *attrs[] = { LDAP_NO_ATTRS, NULL };
 
        if ( verbose ) printf ( _("deleting children of: %s\n"), dn );
        /*