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:
Gellule Xg 2012-01-26 12:21:12 -10:00 committed by Daniel Stenberg
parent 209de22299
commit 3401b374c9

View File

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