mirror of
https://github.com/curl/curl.git
synced 2026-04-25 03:52:12 +03:00
tftp: handle tftp_multi_statemach() return code
Previously just ignored. Reported in Joshua's sarif data Closes #18638
This commit is contained in:
parent
277ebca610
commit
ca8ec6e033
1 changed files with 1 additions and 1 deletions
|
|
@ -1310,7 +1310,7 @@ static CURLcode tftp_perform(struct Curl_easy *data, bool *dophase_done)
|
|||
if((state->state == TFTP_STATE_FIN) || result)
|
||||
return result;
|
||||
|
||||
tftp_multi_statemach(data, dophase_done);
|
||||
result = tftp_multi_statemach(data, dophase_done);
|
||||
|
||||
if(*dophase_done)
|
||||
DEBUGF(infof(data, "DO phase is complete"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue