Commit 5c27f956 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#9406 fix debug msg

parent fa0f9754
...@@ -486,6 +486,7 @@ authzPrettyNormal( ...@@ -486,6 +486,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>}
...@@ -904,7 +905,7 @@ authzPretty( ...@@ -904,7 +905,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 ); out->bv_val ? out->bv_val : "(null)" , rc );
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