mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
make Solaris happy with printf of NULLs (ITS#4811?)
This commit is contained in:
parent
11b1818b16
commit
c635e068a2
1 changed files with 6 additions and 2 deletions
|
|
@ -383,8 +383,10 @@ conn_create(
|
|||
c->c_dn.bv_len ? c->c_dn.bv_val : SLAPD_ANONYMOUS,
|
||||
|
||||
c->c_listener_url.bv_val,
|
||||
c->c_peer_domain.bv_val,
|
||||
c->c_peer_name.bv_val,
|
||||
BER_BVISNULL( &c->c_peer_domain )
|
||||
? "" : c->c_peer_domain.bv_val,
|
||||
BER_BVISNULL( &c->c_peer_name )
|
||||
? "" : c->c_peer_name.bv_val,
|
||||
c->c_sock_name.bv_val,
|
||||
|
||||
buf2,
|
||||
|
|
@ -432,6 +434,7 @@ conn_create(
|
|||
&c->c_dn, &c->c_ndn );
|
||||
|
||||
/* NOTE: client connections leave the c_peer_* fields NULL */
|
||||
assert( !BER_BVISNULL( &c->c_listener_url ) );
|
||||
attr_merge_one( e, mi->mi_ad_monitorConnectionListener,
|
||||
&c->c_listener_url, NULL );
|
||||
|
||||
|
|
@ -443,6 +446,7 @@ conn_create(
|
|||
BER_BVISNULL( &c->c_peer_name ) ? &bv_unknown : &c->c_peer_name,
|
||||
NULL );
|
||||
|
||||
assert( !BER_BVISNULL( &c->c_sock_name ) );
|
||||
attr_merge_one( e, mi->mi_ad_monitorConnectionLocalAddress,
|
||||
&c->c_sock_name, NULL );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue