← Commit list

ad147ec53d

Joshua Rogers
Joshua Rogers
2025-09-18
FAILED Duration: 145s

Subject

tftp: propagate expired timer from tftp_state_timeout()

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
@@ -1184,7 +1184,7 @@ static timediff_t tftp_state_timeout(struct tftp_conn *state,
if(timeout_ms < 0) {
state->error = TFTP_ERR_TIMEOUT;
state->state = TFTP_STATE_FIN;
- return 0;
+ return timeout_ms;
}
current = time(NULL);
if(current > state->rx_time + state->retry_time) {