Skip to content

Commit 6e8ea49

Browse files
remove extra debug log message and commented out stat items
1 parent ff9dabe commit 6e8ea49

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/wolfsftp.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4929,7 +4929,6 @@ int SFTP_GetAttributesStat(WS_SFTP_FILEATRB* atr, WSTAT_T* stats)
49294929
/* file size */
49304930
atr->flags |= WOLFSSH_FILEATRB_SIZE;
49314931
atr->sz[0] = (word32)stats->fsize;
4932-
WLOG(WS_LOG_SFTP, "Setting attrib file size to %u", (unsigned int)stats->fsize);
49334932
atr->sz[1] = (word32)(0);
49344933

49354934
/* file permissions */
@@ -4949,17 +4948,9 @@ int SFTP_GetAttributesStat(WS_SFTP_FILEATRB* atr, WSTAT_T* stats)
49494948
atr->per |= 0x1ED; /* octal 755 */
49504949
}
49514950

4952-
/* volume label */
4953-
//stats.fattrib == SYS_FS_ATTR_VOL
4954-
49554951
/* last modified time */
49564952
atr->mtime = stats->ftime;
49574953

4958-
WLOG(WS_LOG_SFTP, "Setting attrib time to %u", (unsigned int)stats->ftime);
4959-
4960-
/* last modified date */
4961-
//stat.fdate
4962-
49634954
return WS_SUCCESS;
49644955
}
49654956

0 commit comments

Comments
 (0)