]> git.sur5r.net Git - openldap/commitdiff
objectclass=* -> NULL
authorKurt Zeilenga <kurt@openldap.org>
Wed, 12 Apr 2000 08:37:11 +0000 (08:37 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 12 Apr 2000 08:37:11 +0000 (08:37 +0000)
contrib/tweb/html.c

index 7406c624bf236ede8df756284b05d485f4900a77..abaa35d14cd1607baf112c550eefafa01cb59849 100644 (file)
@@ -252,7 +252,7 @@ GLOB_STRUCT *glob;
         char            *cPtr, *ptype;
     char            *tattr;
 
-    if ( (rc = ldap_search_s( ld, dn, LDAP_SCOPE_BASE, "objectClass=*",
+    if ( (rc = ldap_search_s( ld, dn, LDAP_SCOPE_BASE, NULL,
         NULL, 0, &res )) != LDAP_SUCCESS ) {
         do_error(fp, rc, NOT_FOUND, glob);
         return;
@@ -342,7 +342,7 @@ GLOB_STRUCT *glob;
 
     timeout.tv_sec = glob->timeout;
     timeout.tv_usec = 0;
-    if ( (rc = ldap_search_st( ld, dn, LDAP_SCOPE_BASE, "objectClass=*",
+    if ( (rc = ldap_search_st( ld, dn, LDAP_SCOPE_BASE, NULL,
         NULL, 0, &timeout, &res )) != LDAP_SUCCESS ) {
         do_error(fp, rc, NOT_FOUND, glob);
         return;