Commit 06b491a4 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

better function name

parent b45c0c88
......@@ -533,7 +533,7 @@ LDAP_F (void) ldap_set_ber_options( LDAP *ld, BerElement *ber );
LDAP_F (int) ldap_send_server_request( LDAP *ld, BerElement *ber, ber_int_t msgid, LDAPRequest *parentreq, LDAPURLDesc **srvlist, LDAPConn *lc, LDAPreqinfo *bind );
LDAP_F (LDAPConn *) ldap_new_connection( LDAP *ld, LDAPURLDesc **srvlist, int use_ldsb, int connect, LDAPreqinfo *bind );
LDAP_F (LDAPRequest *) ldap_find_request_by_msgid( LDAP *ld, ber_int_t msgid );
LDAP_F (void) ldap_return_request_by_msgid( LDAP *ld, LDAPRequest *lr, int freeit );
LDAP_F (void) ldap_return_request( LDAP *ld, LDAPRequest *lr, int freeit );
LDAP_F (void) ldap_free_request( LDAP *ld, LDAPRequest *lr );
LDAP_F (void) ldap_free_connection( LDAP *ld, LDAPConn *lc, int force, int unbind );
LDAP_F (void) ldap_dump_connection( LDAP *ld, LDAPConn *lconns, int all );
......
......@@ -1456,7 +1456,7 @@ ldap_find_request_by_msgid( LDAP *ld, ber_int_t msgid )
}
void
ldap_return_request_by_msgid( LDAP *ld, LDAPRequest *lrx, int freeit )
ldap_return_request( LDAP *ld, LDAPRequest *lrx, int freeit )
{
LDAPRequest *lr;
......
......@@ -768,7 +768,7 @@ nextresp2:
ber_free( ber, 1 );
ber = NULL;
if ( refer_cnt < 0 ) {
ldap_return_request_by_msgid( ld, lr, 0 );
ldap_return_request( ld, lr, 0 );
return( -1 ); /* fatal error */
}
lr->lr_res_errno = LDAP_SUCCESS; /* sucessfully chased referral */
......@@ -830,7 +830,7 @@ lr->lr_res_matched ? lr->lr_res_matched : "" );
}
}
ldap_return_request_by_msgid( ld, lr, 1 );
ldap_return_request( ld, lr, 1 );
lr = NULL;
}
......@@ -848,7 +848,7 @@ lr->lr_res_matched ? lr->lr_res_matched : "" );
}
if ( lr != NULL ) {
ldap_return_request_by_msgid( ld, lr, 0 );
ldap_return_request( ld, lr, 0 );
lr = NULL;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment