mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
curl_multi_add_handle: next is already NULL
This commit is contained in:
parent
926cb9ff65
commit
b23fda76c1
@ -427,8 +427,7 @@ CURLMcode curl_multi_add_handle(CURLM *multi_handle,
|
||||
multi->easylp = data; /* the new last node */
|
||||
}
|
||||
else {
|
||||
/* first node, make both prev and next be NULL! */
|
||||
data->next = NULL;
|
||||
/* first node, make prev NULL! */
|
||||
data->prev = NULL;
|
||||
multi->easylp = multi->easyp = data; /* both first and last */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user