mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-24 13:41:03 +03:00
Fixed fstatvfs function.
This commit is contained in:
@@ -2692,12 +2692,12 @@ SFTP_STATVFS *sftp_statvfs(SFTP_SESSION *sftp, const char *path) {
|
||||
SFTP_STATVFS *sftp_fstatvfs(SFTP_FILE *file) {
|
||||
STATUS_MESSAGE *status = NULL;
|
||||
SFTP_MESSAGE *msg = NULL;
|
||||
SFTP_SESSION *sftp = NULL;
|
||||
SFTP_SESSION *sftp;
|
||||
ssh_string ext;
|
||||
ssh_buffer buffer;
|
||||
uint32_t id;
|
||||
|
||||
if (sftp == NULL || file == NULL) {
|
||||
if (file == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
sftp = file->sftp;
|
||||
|
||||
Reference in New Issue
Block a user