mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
fix CID #404863 printing
This commit is contained in:
@@ -139,10 +139,9 @@ static void print_time(uint64_t at) {
|
||||
(void)localtime_r(&t, <);
|
||||
#endif
|
||||
|
||||
char res[32];
|
||||
strftime(res, sizeof(res), "%Y-%m-%d %H:%M:%S", <);
|
||||
|
||||
printf("%u ( '%s' )\n", (unsigned)t, res);
|
||||
char res[70];
|
||||
strftime(res, sizeof(res), "%s ('%Y-%m-%d %H:%M:%S')", <);
|
||||
printf("%s\n", res);
|
||||
}
|
||||
|
||||
static void *brute_thread(void *arguments) {
|
||||
|
||||
@@ -171,7 +171,6 @@ static void print_time(uint64_t at) {
|
||||
|
||||
char res[70];
|
||||
strftime(res, sizeof(res), "%s ('%Y-%m-%d %H:%M:%S')", <);
|
||||
|
||||
printf("%s\n", res);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user