1
0
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:
Andreas Schneider
2009-09-10 18:57:58 +02:00
parent 8051ab044c
commit 8ef62cf784

View File

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