From: Stefano Simonelli Date: Tue, 16 Jul 2019 14:34:09 +0000 (+0200) Subject: CURLOPT_SEEKDATA.3: fix variable name X-Git-Tag: curl-7_65_2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdcb0f40c374246c4db8659b816832f05cb10de2;p=thirdparty%2Fcurl.git CURLOPT_SEEKDATA.3: fix variable name Closes https://github.com/curl/curl/pull/4118 --- diff --git a/docs/libcurl/opts/CURLOPT_SEEKDATA.3 b/docs/libcurl/opts/CURLOPT_SEEKDATA.3 index 6ffa7d12a9..6541f74dc4 100644 --- a/docs/libcurl/opts/CURLOPT_SEEKDATA.3 +++ b/docs/libcurl/opts/CURLOPT_SEEKDATA.3 @@ -40,7 +40,7 @@ HTTP, FTP, SFTP static int seek_cb(void *userp, curl_off_t offset, int origin) { struct data *d = (struct data *)userp; - lseek(our_fd, offset, origin); + lseek(d->our_fd, offset, origin); return CURL_SEEKFUNC_OK; }