aboutsummaryrefslogtreecommitdiff
path: root/project/src/wszst.c
diff options
context:
space:
mode:
authorWiimm <wiimm@wiimm.de>2020-10-03 14:59:19 +0200
committerWiimm <wiimm@wiimm.de>2020-10-03 14:59:19 +0200
commita0815499b2d9014695e6e261c909476729445360 (patch)
tree7a31ed50ee3c1c62b86f7ddc09273c4cd7eadc8d /project/src/wszst.c
parent89f00e8e4730b4834e6cc0c96e14f137ca4ac169 (diff)
SZS v2.20a
Diffstat (limited to '')
-rw-r--r--project/src/wszst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/src/wszst.c b/project/src/wszst.c
index 595d1d9..366f4a7 100644
--- a/project/src/wszst.c
+++ b/project/src/wszst.c
@@ -177,7 +177,7 @@ static void list_compressions_exit()
static void print_version_section ( bool print_sect_header )
{
- cmd_version_section(print_sect_header,WSZST_SHORT,WSZST_LONG);
+ cmd_version_section(print_sect_header,WSZST_SHORT,WSZST_LONG,long_count-1);
}
///////////////////////////////////////////////////////////////////////////////
@@ -1785,7 +1785,7 @@ static enumError cmd_sha1()
{
if (long_count>1)
{
- struct tm * tm = localtime(&FILEATTRIB_SEC(szs.fatt.mtime));
+ struct tm * tm = localtime(&szs.fatt.mtime.tv_sec);
char timbuf[40];
strftime(timbuf,sizeof(timbuf),"%F %T ",tm);
fputs(timbuf,stdout);