sftp-seek: clear EOF flag
Set the EOF flag to False when calling seek64 to be able to get some data back on a following read
This commit is contained in:
parent
209de22299
commit
3401b374c9
@ -1933,6 +1933,9 @@ libssh2_sftp_seek64(LIBSSH2_SFTP_HANDLE *handle, libssh2_uint64_t offset)
|
||||
handle->u.file.data_left = handle->u.file.data_len = 0;
|
||||
handle->u.file.data = NULL;
|
||||
}
|
||||
|
||||
/* reset EOF to False */
|
||||
handle->u.file.eof = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user