mirror of
https://github.com/curl/curl.git
synced 2026-08-26 21:03:34 +03:00
llist: add Curl_llist_append()
- use for better readability in all places where the "insert_next" actually performs an append to the list - add some tests in unit1300 Closes #13336
This commit is contained in:
parent
8cee4c9238
commit
c296abd42d
11 changed files with 79 additions and 20 deletions
|
|
@ -349,7 +349,7 @@ static CURLcode ftp_pl_insert_finfo(struct Curl_easy *data,
|
|||
Curl_set_in_callback(data, false);
|
||||
|
||||
if(add) {
|
||||
Curl_llist_insert_next(llist, llist->tail, finfo, &infop->list);
|
||||
Curl_llist_append(llist, finfo, &infop->list);
|
||||
}
|
||||
else {
|
||||
Curl_fileinfo_cleanup(infop);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue