mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-17 21:25:50 +02:00
Analysis workflow, fix ctime formatting for autotrust and testbound.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user