summaryrefslogtreecommitdiff
path: root/lib/hash.c
diff options
context:
space:
mode:
authorng0 <ng0@infotropique.org>2017-10-06 14:15:34 +0000
committerng0 <ng0@infotropique.org>2017-10-06 14:15:34 +0000
commit64d20516fc61405cf0de4db0b0b8c52b3cafe917 (patch)
tree804233b6e02880b5774b9cc3a015ddaeb036717a /lib/hash.c
parentdc3acc1603d57da12f54d5e360e40eda12b1066c (diff)
parent3ea76790571c1f7cf1bed34fabffd3cc20ad3dd3 (diff)
downloadgnurl-64d20516fc61405cf0de4db0b0b8c52b3cafe917.tar.gz
gnurl-64d20516fc61405cf0de4db0b0b8c52b3cafe917.tar.bz2
gnurl-64d20516fc61405cf0de4db0b0b8c52b3cafe917.zip
Merge tag 'curl-7_56_0'
curl 7.56.0
Diffstat (limited to 'lib/hash.c')
-rw-r--r--lib/hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hash.c b/lib/hash.c
index 552022443..5733d975b 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -300,10 +300,10 @@ Curl_hash_next_element(struct curl_hash_iterator *iter)
/* If we have reached the end of the list, find the next one */
if(!iter->current_element) {
- for(i = iter->slot_index;i < h->slots;i++) {
+ for(i = iter->slot_index; i < h->slots; i++) {
if(h->table[i].head) {
iter->current_element = h->table[i].head;
- iter->slot_index = i+1;
+ iter->slot_index = i + 1;
break;
}
}