]> git.sur5r.net Git - openldap/commitdiff
Move some noise about
authorKurt Zeilenga <kurt@openldap.org>
Sat, 15 Jul 2000 01:28:16 +0000 (01:28 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 15 Jul 2000 01:28:16 +0000 (01:28 +0000)
libraries/libldap/cyrus.c
libraries/liblutil/sasl.c

index d06ef3269e23323c4e53d0e5e112f4d846825fc6..5f9362e83c60bf705b3bd97f0d3cc8c055fd3af7 100644 (file)
@@ -523,9 +523,7 @@ ldap_int_sasl_bind(
                }
 
                if( saslrc == SASL_INTERACT ) {
-                       fprintf(stderr, "SASL Interacting\n");
                        if( !ld->ld_options.ldo_sasl_interact ) break;
-
                        rc = (ld->ld_options.ldo_sasl_interact)( ld, prompts );
                        if( rc != LDAP_SUCCESS ) {
                                break;
@@ -574,9 +572,7 @@ ldap_int_sasl_bind(
 
                        if( saslrc == SASL_INTERACT ) {
                                int res;
-                               fprintf(stderr, "SASL Interacting\n");
                                if( !ld->ld_options.ldo_sasl_interact ) break;
-
                                res = (ld->ld_options.ldo_sasl_interact)( ld, prompts );
                                if( res != LDAP_SUCCESS ) {
                                        break;
index 65a3ef821a52712d5965d13287765a8f03fc1bae..a005cdf6bc61e3def38a71fb57b26eb999efd4ae 100644 (file)
@@ -101,6 +101,8 @@ int lutil_sasl_interact(
 {
        sasl_interact_t *interact = in;
 
+       fputs( "SASL Interaction\n", stderr );
+
        while( interact->id != SASL_CB_LIST_END ) {
                int rc = interaction( interact );