mirror of
https://github.com/curl/curl.git
synced 2026-08-26 14:23:32 +03:00
tool_operate: fix return code when --retry is used but not triggered
Verify with test 752 Reported-by: fjaell on github Fixes #17554 Closes #17559
This commit is contained in:
parent
128c5ddc6b
commit
b42776b4f4
3 changed files with 75 additions and 2 deletions
|
|
@ -548,8 +548,9 @@ static CURLcode retrycheck(struct OperationConfig *config,
|
|||
*retryp = TRUE;
|
||||
per->num_retries++;
|
||||
*delayms = sleeptime;
|
||||
result = CURLE_OK;
|
||||
}
|
||||
return CURLE_OK;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue