Commit 91b4bfb2 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix logging bug

parent 5362c159
......@@ -112,15 +112,13 @@ str2entry( char *s )
#ifdef NEW_LOGGING
LDAP_LOG( OPERATION, DETAIL1, "str2entry: "
"entry %ld has multiple DNs \"%s\" and \"%s\"\n",
(long) e->e_id, e->e_dn,
vals[0].bv_val != NULL ? vals[0].bv_val : "" );
(long) e->e_id, e->e_dn, vals[0].bv_val );
#else
Debug( LDAP_DEBUG_ANY, "str2entry: "
"entry %ld has multiple DNs \"%s\" and \"%s\"\n",
(long) e->e_id, e->e_dn,
vals[0].bv_val != NULL ? vals[0].bv_val : "" );
(long) e->e_id, e->e_dn, vals[0].bv_val );
#endif
if( vals[0].bv_val != NULL ) free( vals[0].bv_val );
free( vals[0].bv_val );
entry_free( e );
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment