From d48dbc8bad3b3b3eae4a82ae2b1d609d086f4cc8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 17 Jul 2007 07:28:00 +0000 Subject: r23916: use the correct io operations for debugging metze (This used to be commit d745a1a71991f306c29b3c62f43d619177f79725) --- source3/libads/sasl_wrapping.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source3/libads/sasl_wrapping.c b/source3/libads/sasl_wrapping.c index 5afa3eef15..1160493902 100644 --- a/source3/libads/sasl_wrapping.c +++ b/source3/libads/sasl_wrapping.c @@ -81,8 +81,9 @@ ADS_STATUS ads_setup_sasl_wrapping(ADS_STRUCT *ads) } /* debugging for the layer above SASL */ - rc = ber_sockbuf_add_io(sb, io, LBER_SBIOD_LEVEL_TRANSPORT, - (void *)"ads_sasl_wrapping_above" ); + rc = ber_sockbuf_add_io(sb, &ber_sockbuf_io_debug, + LBER_SBIOD_LEVEL_TRANSPORT, + (void *)"ads_sasl_wrapping_above"); status = ADS_ERROR_LDAP(rc); if (!ADS_ERR_OK(status)) { return status; @@ -96,8 +97,9 @@ ADS_STATUS ads_setup_sasl_wrapping(ADS_STRUCT *ads) } /* debugging for the layer below SASL */ - rc = ber_sockbuf_add_io(sb, io, LBER_SBIOD_LEVEL_TRANSPORT, - (void *)"ads_sasl_wrapping_below" ); + rc = ber_sockbuf_add_io(sb, &ber_sockbuf_io_debug, + LBER_SBIOD_LEVEL_TRANSPORT, + (void *)"ads_sasl_wrapping_below"); status = ADS_ERROR_LDAP(rc); if (!ADS_ERR_OK(status)) { return status; -- cgit