mirror of
https://github.com/curl/curl.git
synced 2026-04-19 07:31:13 +03:00
tool_operate: break out of loop on error
Follow-up to 69bf530dfd
The loop could get stuck there in torture tests/OOM.
Closes #15322
This commit is contained in:
parent
38bfe1c2aa
commit
8cdbaba4bf
1 changed files with 1 additions and 0 deletions
|
|
@ -2994,6 +2994,7 @@ static CURLcode serial_transfers(struct GlobalConfig *global,
|
|||
if(result) {
|
||||
returncode = result;
|
||||
bailout = TRUE;
|
||||
break;
|
||||
}
|
||||
} while(skipped);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue