diff options
author | Anders Bakken <agbakken@gmail.com> | 2015-04-29 15:39:54 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-04-30 08:21:34 +0200 |
commit | b23fda76c17961c17b67e80a35d0c467d9f4c52a (patch) | |
tree | 568aaddc649c39ad9a3e68e7790ec16f76c93488 | |
parent | 926cb9ff65b36697e189f8dcd6b75e6eea847123 (diff) |
curl_multi_add_handle: next is already NULL
-rw-r--r-- | lib/multi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/multi.c b/lib/multi.c index 235b5b457..f483f2d96 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -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 */ } |