Author: metze Date: 2007-07-17 07:28:26 +0000 (Tue, 17 Jul 2007) New Revision: 23917
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23917 Log: merge from SAMBA_3_2: use the correct io operations for debugging metze Modified: branches/SAMBA_3_2_0/source/libads/sasl_wrapping.c Changeset: Modified: branches/SAMBA_3_2_0/source/libads/sasl_wrapping.c =================================================================== --- branches/SAMBA_3_2_0/source/libads/sasl_wrapping.c 2007-07-17 07:28:00 UTC (rev 23916) +++ branches/SAMBA_3_2_0/source/libads/sasl_wrapping.c 2007-07-17 07:28:26 UTC (rev 23917) @@ -81,8 +81,9 @@ } /* 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 @@ } /* 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;
