Analysis workflow, fix ctime formatting for autotrust and testbound.

This commit is contained in:
W.C.A. Wijngaards
2021-06-25 15:11:10 +02:00
parent 770a54600c
commit e4e0eaa63e
6 changed files with 23 additions and 19 deletions
+4
View File
@@ -688,6 +688,10 @@ do_macro_ctime(char* arg)
return NULL;
}
ctime_r(&tt, buf);
#ifdef USE_WINSOCK
if(strlen(buf) > 10 && buf[7]==' ' && buf[8]=='0')
buf[8]=' '; /* fix error in windows ctime */
#endif
strip_end_white(buf);
return strdup(buf);
}