]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r23916: use the correct io operations for debugging
authorStefan Metzmacher <metze@samba.org>
Tue, 17 Jul 2007 07:28:00 +0000 (07:28 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:41 +0000 (12:28 -0500)
metze
(This used to be commit d745a1a71991f306c29b3c62f43d619177f79725)

source3/libads/sasl_wrapping.c

index 5afa3eef151e1489be8a6cf16dea3aa925ec16ad..1160493902452a94e5ae06977347987c72d30394 100644 (file)
@@ -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;