diff --git a/lib/hash.c b/lib/hash.c index 06ce92cbd5..30f28e2352 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -330,7 +330,6 @@ Curl_hash_next_element(struct Curl_hash_iterator *iter) struct Curl_hash_element *he = iter->current_element->ptr; return he; } - iter->current_element = NULL; return NULL; }