aboutsummaryrefslogtreecommitdiff
path: root/src/tool_util.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-03-16 09:33:27 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-03-16 09:51:34 +0100
commit95c36fff75883ace6e8e7a89b94362de2dd1857f (patch)
tree338cc6b62aa79b3770edc32a4041906b4dbdd9d4 /src/tool_util.c
parent2eba5e4c7bf28bb5a98a6b1f55ad5fae3b27492c (diff)
tool_operate: fix add_parallel_transfers when more are in queue
Trying to return early from the function if no new transfers were added would break the "morep" argument and cause issues. This could lead to zero content "transfers" (within quotes since they would never be started) when parallel-max was reduced. Reported-by: Gavin Wong Analyzed-by: Jay Satiro Fixes #4937 Closes #5112
Diffstat (limited to 'src/tool_util.c')
0 files changed, 0 insertions, 0 deletions