diff options
author | Emil Lerner <neex.emil@gmail.com> | 2015-03-25 14:23:42 +0300 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-03-25 12:48:15 +0100 |
commit | 83835f7185217416d18e3c54109016a78a71d492 (patch) | |
tree | a3199624baf28cb5520a50baef29a302bd07fdd1 /tests/libtest/lib552.c | |
parent | eb2a6180fbb73410c89647784f1c249ce2000b6e (diff) |
globbing: fix url number calculation when using range with step
In function glob_range, the number of urls was multiplied by (max - min
+ 1), regardless of step. The correct formula is (max - min) / step + 1
Diffstat (limited to 'tests/libtest/lib552.c')
0 files changed, 0 insertions, 0 deletions