1
0
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:
Anders Bakken 2015-04-29 15:39:54 -07:00 committed by Daniel Stenberg
parent 926cb9ff65
commit b23fda76c1

View File

@ -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 */
}