remove extra debug log message and commented out stat items

pull/790/head
JacobBarthelmeh 2025-04-03 16:01:18 -06:00
parent ff9dabe8ba
commit 6e8ea49c38
1 changed files with 0 additions and 9 deletions

View File

@ -4929,7 +4929,6 @@ int SFTP_GetAttributesStat(WS_SFTP_FILEATRB* atr, WSTAT_T* stats)
/* file size */
atr->flags |= WOLFSSH_FILEATRB_SIZE;
atr->sz[0] = (word32)stats->fsize;
WLOG(WS_LOG_SFTP, "Setting attrib file size to %u", (unsigned int)stats->fsize);
atr->sz[1] = (word32)(0);
/* file permissions */
@ -4949,17 +4948,9 @@ int SFTP_GetAttributesStat(WS_SFTP_FILEATRB* atr, WSTAT_T* stats)
atr->per |= 0x1ED; /* octal 755 */
}
/* volume label */
//stats.fattrib == SYS_FS_ATTR_VOL
/* last modified time */
atr->mtime = stats->ftime;
WLOG(WS_LOG_SFTP, "Setting attrib time to %u", (unsigned int)stats->ftime);
/* last modified date */
//stat.fdate
return WS_SUCCESS;
}