mirror of
https://github.com/curl/curl.git
synced 2026-08-04 20:16:15 +03:00
splay: rename Curl_splayremovebyaddr to Curl_splayremove
... and remove the old unused proto for the old Curl_splayremove version. Closes #6269
This commit is contained in:
parent
2d4d012a49
commit
b6b535994e
4 changed files with 11 additions and 19 deletions
10
lib/multi.c
10
lib/multi.c
|
|
@ -3375,9 +3375,8 @@ void Curl_expire(struct Curl_easy *data, timediff_t milli, expire_id id)
|
|||
|
||||
/* Since this is an updated time, we must remove the previous entry from
|
||||
the splay tree first and then re-add the new value */
|
||||
rc = Curl_splayremovebyaddr(multi->timetree,
|
||||
&data->state.timenode,
|
||||
&multi->timetree);
|
||||
rc = Curl_splayremove(multi->timetree, &data->state.timenode,
|
||||
&multi->timetree);
|
||||
if(rc)
|
||||
infof(data, "Internal error removing splay node = %d\n", rc);
|
||||
}
|
||||
|
|
@ -3423,9 +3422,8 @@ void Curl_expire_clear(struct Curl_easy *data)
|
|||
struct Curl_llist *list = &data->state.timeoutlist;
|
||||
int rc;
|
||||
|
||||
rc = Curl_splayremovebyaddr(multi->timetree,
|
||||
&data->state.timenode,
|
||||
&multi->timetree);
|
||||
rc = Curl_splayremove(multi->timetree, &data->state.timenode,
|
||||
&multi->timetree);
|
||||
if(rc)
|
||||
infof(data, "Internal error clearing splay node = %d\n", rc);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue