1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

CURLOPT_SEEKDATA.3: fix variable name

Closes https://github.com/curl/curl/pull/4118
This commit is contained in:
Stefano Simonelli 2019-07-16 16:34:09 +02:00 committed by Jay Satiro
parent fea0120312
commit fdcb0f40c3

View File

@ -40,7 +40,7 @@ HTTP, FTP, SFTP
static int seek_cb(void *userp, curl_off_t offset, int origin) static int seek_cb(void *userp, curl_off_t offset, int origin)
{ {
struct data *d = (struct data *)userp; struct data *d = (struct data *)userp;
lseek(our_fd, offset, origin); lseek(d->our_fd, offset, origin);
return CURL_SEEKFUNC_OK; return CURL_SEEKFUNC_OK;
} }