]> git.sur5r.net Git - openldap/commitdiff
remove lint reported by Hallvard
authorKurt Zeilenga <kurt@openldap.org>
Fri, 23 Oct 1998 22:00:20 +0000 (22:00 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 23 Oct 1998 22:00:20 +0000 (22:00 +0000)
This could have caused a crash.

servers/slapd/back-ldbm/search.c

index 19dafe4c017680d060d5da3af5f0a0d04d1c0c77..fd9db4849158ddfc1a1710829d8cb665bc7d909f 100644 (file)
@@ -157,8 +157,8 @@ ldbm_back_search(
                        int     i, len;
 
                        if ( ref->a_vals == NULL ) {
-                               Debug( LDAP_DEBUG_ANY, "null ref in (%s)\n", 0,
-                                       0, 0 );
+                               Debug( LDAP_DEBUG_ANY, "null ref in (%s)\n", 
+                                       e->e_dn, 0, 0 );
                        } else {
                                for ( i = 0; ref->a_vals[i] != NULL; i++ ) {
                                        /* referral + newline + null */