summaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authordasimx <g9264140@trbvm.com>2018-03-14 11:02:05 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-03-14 11:42:19 +0100
commit920f73a6906dce87c6ee87c32b109a287189965d (patch)
treed39c19dedb153a5161522188c71d4d8fad649044 /lib/ftp.c
parent4d6bd91ab33328c6d27eddc32e064defc02dc4fd (diff)
downloadcurl-920f73a6906dce87c6ee87c32b109a287189965d.tar.gz
FTP: fix typo in recursive callback detection for seeking
Fixes #2380
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index e2cc38b62..0cc583ba7 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -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) {