Commit c79267b8 authored by Howard Chu's avatar Howard Chu
Browse files

Fix unparse in prev commit

parent 25a4e780
......@@ -1303,7 +1303,10 @@ slap_sb_uri(
{
slap_bindconf *bc = bcp;
if ( unparse ) {
*val = bc->sb_uri;
if ( bc->sb_uri.bv_len >= val->bv_len )
return -1;
val->bv_len = bc->sb_uri.bv_len;
AC_MEMCPY( val->bv_val, bc->sb_uri.bv_val, val->bv_len );
} else {
bc->sb_uri = *val;
#ifdef HAVE_TLS
......
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