diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 353edc99820600722153d2dfef30324d94f3fab9..33a5ee1c5f844e415a6e9cb125063f20c9e1b13f 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -927,7 +927,7 @@ slap_send_search_entry( Operation *op, SlapReply *rs ) if( e_flags == NULL ) { Debug( LDAP_DEBUG_ANY, "send_search_entry: conn %lu slap_sl_calloc failed\n", - op->o_connid ? op->o_connid : 0, 0, 0 ); + op->o_connid, 0, 0 ); ber_free( ber, 1 ); send_ldap_error( op, rs, LDAP_OTHER, "out of memory" ); @@ -945,7 +945,7 @@ slap_send_search_entry( Operation *op, SlapReply *rs ) if ( rc == -1 ) { Debug( LDAP_DEBUG_ANY, "send_search_entry: " "conn %lu matched values filtering failed\n", - op->o_connid ? op->o_connid : 0, 0, 0 ); + op->o_connid, 0, 0 ); if ( op->o_res_ber == NULL ) ber_free_buf( ber ); send_ldap_error( op, rs, LDAP_OTHER, "matched values filtering error" ); @@ -1112,7 +1112,7 @@ slap_send_search_entry( Operation *op, SlapReply *rs ) Debug( LDAP_DEBUG_ANY, "send_search_entry: conn %lu " "matched values filtering failed\n", - op->o_connid ? op->o_connid : 0, 0, 0); + op->o_connid, 0, 0); if ( op->o_res_ber == NULL ) ber_free_buf( ber ); send_ldap_error( op, rs, LDAP_OTHER, "matched values filtering error" );