diff options
author | dartraiden <wowemuh@gmail.com> | 2018-11-07 14:53:00 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2018-11-07 14:53:00 +0300 |
commit | deb3dda96648e7ae5b83c6ea3d35a92a0c1476fa (patch) | |
tree | 2b502144017db5ba30db1febbe4ae6d33873c5bd /libs/libcurl/src/tftp.c | |
parent | 1b0acf437a564bdcd97f4807fa7921d126fdffef (diff) |
libcurl: update to 7.62
Diffstat (limited to 'libs/libcurl/src/tftp.c')
-rw-r--r-- | libs/libcurl/src/tftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libcurl/src/tftp.c b/libs/libcurl/src/tftp.c index e5bc80b02b..5b74e8e08c 100644 --- a/libs/libcurl/src/tftp.c +++ b/libs/libcurl/src/tftp.c @@ -485,7 +485,7 @@ static CURLcode tftp_send_first(tftp_state_data_t *state, tftp_event_t event) /* As RFC3617 describes the separator slash is not actually part of the file name so we skip the always-present first letter of the path string. */ - result = Curl_urldecode(data, &state->conn->data->state.path[1], 0, + result = Curl_urldecode(data, &state->conn->data->state.up.path[1], 0, &filename, NULL, FALSE); if(result) return result; @@ -1374,7 +1374,7 @@ static CURLcode tftp_setup_connection(struct connectdata * conn) /* TFTP URLs support an extension like ";mode=<typecode>" that * we'll try to get now! */ - type = strstr(data->state.path, ";mode="); + type = strstr(data->state.up.path, ";mode="); if(!type) type = strstr(conn->host.rawalloc, ";mode="); |