diff options
author | Stefano Simonelli <stefano@dianomic.com> | 2019-07-16 16:34:09 +0200 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2019-07-17 01:16:35 -0400 |
commit | fdcb0f40c374246c4db8659b816832f05cb10de2 (patch) | |
tree | deef671ce4d34492bfcff968427b7a35a9eb7963 /docs/libcurl/opts | |
parent | fea0120312f0e6a74b9dcc2a194c76c87c727ffe (diff) |
CURLOPT_SEEKDATA.3: fix variable name
Closes https://github.com/curl/curl/pull/4118
Diffstat (limited to 'docs/libcurl/opts')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_SEEKDATA.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_SEEKDATA.3 b/docs/libcurl/opts/CURLOPT_SEEKDATA.3 index 6ffa7d12a..6541f74dc 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; } |