Commit 02dfc32d authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#9406 fix debug msg

parent 6ed057b5
...@@ -488,6 +488,7 @@ authzPrettyNormal( ...@@ -488,6 +488,7 @@ authzPrettyNormal(
assert( val != NULL ); assert( val != NULL );
assert( !BER_BVISNULL( val ) ); assert( !BER_BVISNULL( val ) );
BER_BVZERO( normalized );
/* /*
* 2) dn[.{exact|children|subtree|onelevel}]:{*|<DN>} * 2) dn[.{exact|children|subtree|onelevel}]:{*|<DN>}
...@@ -906,7 +907,7 @@ authzPretty( ...@@ -906,7 +907,7 @@ authzPretty(
rc = authzPrettyNormal( val, out, ctx, 0 ); rc = authzPrettyNormal( val, out, ctx, 0 );
Debug( LDAP_DEBUG_TRACE, "<<< authzPretty: <%s> (%d)\n", Debug( LDAP_DEBUG_TRACE, "<<< authzPretty: <%s> (%d)\n",
out->bv_val, rc, 0 ); out->bv_val ? out->bv_val : "(null)" , rc, 0 );
return rc; return rc;
} }
......
Supports Markdown
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