mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Add sasl i/o debugging
This commit is contained in:
parent
16fcdec8df
commit
2a6f092422
@ -328,6 +328,10 @@ int ldap_pvt_sasl_install( Sockbuf *sb, void *ctx_arg )
|
|||||||
if ( !ber_sockbuf_ctrl( sb, LBER_SB_OPT_HAS_IO,
|
if ( !ber_sockbuf_ctrl( sb, LBER_SB_OPT_HAS_IO,
|
||||||
&ldap_pvt_sockbuf_io_sasl ) )
|
&ldap_pvt_sockbuf_io_sasl ) )
|
||||||
{
|
{
|
||||||
|
#ifdef LDAP_DEBUG
|
||||||
|
ber_sockbuf_add_io( sb, &ber_sockbuf_io_debug,
|
||||||
|
LBER_SBIOD_LEVEL_APPLICATION, (void *)"sasl_" );
|
||||||
|
#endif
|
||||||
ber_sockbuf_add_io( sb, &ldap_pvt_sockbuf_io_sasl,
|
ber_sockbuf_add_io( sb, &ldap_pvt_sockbuf_io_sasl,
|
||||||
LBER_SBIOD_LEVEL_APPLICATION, ctx_arg );
|
LBER_SBIOD_LEVEL_APPLICATION, ctx_arg );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user