]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/dn2id.c
better fix to ITS#4183 (the prototype in proto-slap.h was erroneously committed earlier)
[openldap] / servers / slapd / back-ldbm / dn2id.c
index ae9489a519c67a4e4745a0067a5df825a86108c6..c3022e3b19260d6f469f65a80ee0adb478410be3 100644 (file)
@@ -122,7 +122,7 @@ dn2id(
 
        Debug( LDAP_DEBUG_TRACE, "=> dn2id( \"%s\" )\n", dn->bv_val, 0, 0 );
 
-       assert( idp );
+       assert( idp != NULL );
 
        /* first check the cache */
        *idp = cache_find_entry_ndn2id( be, &li->li_cache, dn );