From d04693360cd7809ab94ed593cb1d9e1834b8899e Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 13 Oct 2016 14:41:56 +0200 Subject: [PATCH] fix ldap compilation --- coreapi/ldap/ldapprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/ldap/ldapprovider.c b/coreapi/ldap/ldapprovider.c index 34460e1f4..4cd031a88 100644 --- a/coreapi/ldap/ldapprovider.c +++ b/coreapi/ldap/ldapprovider.c @@ -635,7 +635,7 @@ static unsigned int linphone_ldap_contact_provider_cancel_search(LinphoneContact bctbx_list_t* list_entry = bctbx_list_find_custom(ldap_cp->requests, linphone_ldap_request_entry_compare_strong, req); if( list_entry ) { ms_message("Delete search %p", req); - ldap_cp->requests = bctbx_list_remove_link(ldap_cp->requests, list_entry); + ldap_cp->requests = bctbx_list_erase_link(ldap_cp->requests, list_entry); ldap_cp->req_count--; ret = 0; // return OK if we found it in the monitored requests } else {