Skip to content
Snippets Groups Projects
Commit b23fda76 authored by Anders Bakken's avatar Anders Bakken Committed by Daniel Stenberg
Browse files

curl_multi_add_handle: next is already NULL

parent 926cb9ff
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment