FTP: fix typo in recursive callback detection for seeking

Fixes #2380
This commit is contained in:
dasimx 2018-03-14 11:02:05 +01:00 committed by Daniel Stenberg
parent 4d6bd91ab3
commit 920f73a690
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -1621,7 +1621,7 @@ static CURLcode ftp_state_ul_setup(struct connectdata *conn,
Curl_set_in_callback(data, true);
seekerr = conn->seek_func(conn->seek_client, data->state.resume_from,
SEEK_SET);
Curl_set_in_callback(data, true);
Curl_set_in_callback(data, false);
}
if(seekerr != CURL_SEEKFUNC_OK) {