← Commit list

ca8ec6e033

Daniel Stenberg
Daniel Stenberg
2025-09-20
FAILED Duration: 169s

Subject

tftp: handle tftp_multi_statemach() return code

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/tftp.c+1 -1
@@ -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"));