From: Kurt Zeilenga Date: Wed, 12 Apr 2000 08:37:11 +0000 (+0000) Subject: objectclass=* -> NULL X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3100 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=250a816549abb9c12dad581a2423338f78aa9d7a;p=openldap objectclass=* -> NULL --- diff --git a/contrib/tweb/html.c b/contrib/tweb/html.c index 7406c624bf..abaa35d14c 100644 --- a/contrib/tweb/html.c +++ b/contrib/tweb/html.c @@ -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;