mirror of
https://github.com/curl/curl.git
synced 2026-08-04 14:06:15 +03:00
Song Ma filed bug report #1724016
(http://curl.haxx.se/bug/view.cgi?id=1724016) noticing that downloading glob-ranges for TFTP was broken in CVS.
This commit is contained in:
parent
05ab8d291c
commit
c25da51913
2 changed files with 8 additions and 0 deletions
|
|
@ -687,6 +687,10 @@ CURLcode Curl_tftp(struct connectdata *conn, bool *done)
|
|||
state = (tftp_state_data_t *)conn->data->reqdata.proto.tftp;
|
||||
}
|
||||
|
||||
code = Curl_readwrite_init(conn);
|
||||
if(code)
|
||||
return code;
|
||||
|
||||
/* Run the TFTP State Machine */
|
||||
for(code=tftp_state_machine(state, TFTP_EVENT_INIT);
|
||||
(state->state != TFTP_STATE_FIN) && (code == CURLE_OK);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue