summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/GNURLOPT_SEEKDATA.3
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libcurl/opts/GNURLOPT_SEEKDATA.3')
-rw-r--r--docs/libcurl/opts/GNURLOPT_SEEKDATA.32
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/GNURLOPT_SEEKDATA.3 b/docs/libcurl/opts/GNURLOPT_SEEKDATA.3
index b898c7ce4..b864b78ad 100644
--- a/docs/libcurl/opts/GNURLOPT_SEEKDATA.3
+++ b/docs/libcurl/opts/GNURLOPT_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;
}