From 06b491a446b1b4097516947521c3d8e0ba14218a Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 1 Sep 2006 16:21:20 +0000 Subject: [PATCH] better function name --- libraries/libldap/ldap-int.h | 2 +- libraries/libldap/request.c | 2 +- libraries/libldap/result.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/libldap/ldap-int.h b/libraries/libldap/ldap-int.h index 2276ac6e54..e4997b0259 100644 --- a/libraries/libldap/ldap-int.h +++ b/libraries/libldap/ldap-int.h @@ -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 ); diff --git a/libraries/libldap/request.c b/libraries/libldap/request.c index 6e923158ff..219d2c0b01 100644 --- a/libraries/libldap/request.c +++ b/libraries/libldap/request.c @@ -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; diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index b9d1e03732..0d9a429fd1 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -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; } -- 2.39.5