connection_<first/next>() takes a ber_socket_t *index, not int*.
} else if ( dn_match( &rdn, ¤t_bv ) ) {
Connection *c;
- int connindex;
+ ber_socket_t connindex;
for ( n = 0, c = connection_first( &connindex );
c != NULL;
if ( ndn == NULL ) {
Connection *c;
- int connindex;
+ ber_socket_t connindex;
Entry *e = NULL,
*e_tmp = NULL;
} else {
Connection *c;
- int connindex;
+ ber_socket_t connindex;
unsigned long connid;
char *next = NULL;
static struct berval nconn_bv = BER_BVC( "cn=connection " );
{
monitor_info_t *mi = (monitor_info_t *)op->o_bd->be_private;
Connection *c;
- int connindex;
+ ber_socket_t connindex;
long nconns, nwritewaiters, nreadwaiters;
int i;
int connections_timeout_idle(time_t now)
{
int i = 0, writers = 0;
- int connindex;
+ ber_socket_t connindex;
Connection* c;
time_t old;
void connections_drop()
{
Connection* c;
- int connindex;
+ ber_socket_t connindex;
for( c = connection_first( &connindex );
c != NULL;