From: Kurt Zeilenga Date: Thu, 2 Mar 2000 01:20:00 +0000 (+0000) Subject: Print tag with SASL in progress operations error. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3165 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=10588da3c57aadc8ab787be7f0f349881db3e281;p=openldap Print tag with SASL in progress operations error. --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 7237e5ae0b..edf0db517d 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -730,13 +730,13 @@ connection_operation( void *arg_v ) num_ops_initiated++; ldap_pvt_thread_mutex_unlock( &num_ops_mutex ); - if( conn->c_bind_in_progress == 1 && tag != LDAP_REQ_BIND ) { - Debug( LDAP_DEBUG_ANY, - "connection_operation: SASL bind in progress.\n", - 0, 0, 0 ); - send_ldap_result( conn, arg->co_op, LDAP_OPERATIONS_ERROR, + if( conn->c_bind_in_progress && tag != LDAP_REQ_BIND ) { + Debug( LDAP_DEBUG_ANY, "connection_operation: " + "error: SASL bind in progress (tag=%ld).\n", + (long) tag, 0, 0 ); + send_ldap_result( conn, arg->co_op, + rc = LDAP_OPERATIONS_ERROR, NULL, "SASL bind in progress", NULL, NULL ); - rc = LDAP_OPERATIONS_ERROR; goto operations_error; }