(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:
Daniel Stenberg 2007-05-24 21:11:18 +00:00
Родитель 05ab8d291c
Коммит c25da51913
2 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -6,6 +6,10 @@
Changelog Changelog
Daniel S (24 May 2007) Daniel S (24 May 2007)
- 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. Fixed now.
- 'mytx' in bug report #1723194 (http://curl.haxx.se/bug/view.cgi?id=1723194) - 'mytx' in bug report #1723194 (http://curl.haxx.se/bug/view.cgi?id=1723194)
pointed out that the warnf() function in the curl tool didn't properly deal pointed out that the warnf() function in the curl tool didn't properly deal
with the cases when excessively long words were used in the string to chop with the cases when excessively long words were used in the string to chop

Просмотреть файл

@ -687,6 +687,10 @@ CURLcode Curl_tftp(struct connectdata *conn, bool *done)
state = (tftp_state_data_t *)conn->data->reqdata.proto.tftp; state = (tftp_state_data_t *)conn->data->reqdata.proto.tftp;
} }
code = Curl_readwrite_init(conn);
if(code)
return code;
/* Run the TFTP State Machine */ /* Run the TFTP State Machine */
for(code=tftp_state_machine(state, TFTP_EVENT_INIT); for(code=tftp_state_machine(state, TFTP_EVENT_INIT);
(state->state != TFTP_STATE_FIN) && (code == CURLE_OK); (state->state != TFTP_STATE_FIN) && (code == CURLE_OK);