mirror of
https://github.com/curl/curl.git
synced 2026-07-24 19:17:20 +03:00
tftp: return error if it hits an illegal state
Reported-by: Joshua Rogers Closes #18894
This commit is contained in:
parent
bc90f80556
commit
3660e6da80
1 changed files with 1 additions and 1 deletions
|
|
@ -564,7 +564,7 @@ static CURLcode tftp_send_first(struct tftp_conn *state,
|
|||
|
||||
default:
|
||||
failf(state->data, "tftp_send_first: internal error");
|
||||
break;
|
||||
return CURLE_TFTP_ILLEGAL;
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue