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
1 changed files with 1 additions and 1 deletions

View 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;
}