]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_SEEKDATA.3: fix variable name
authorStefano Simonelli <stefano@dianomic.com>
Tue, 16 Jul 2019 14:34:09 +0000 (16:34 +0200)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 17 Jul 2019 05:16:35 +0000 (01:16 -0400)
Closes https://github.com/curl/curl/pull/4118

docs/libcurl/opts/CURLOPT_SEEKDATA.3

index 6ffa7d12a986368d97f84555039e1bd37e0ee010..6541f74dc467aff59194decc5fcdc99c19c6d3a6 100644 (file)
@@ -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;
 }