From a0815499b2d9014695e6e261c909476729445360 Mon Sep 17 00:00:00 2001 From: Wiimm Date: Sat, 3 Oct 2020 14:59:19 +0200 Subject: SZS v2.20a --- project/src/wszst.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'project/src/wszst.c') 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); -- cgit v1.3.1