removed use of %T which isnt in ansi C

This commit is contained in:
Jeff Hill
2004-03-31 21:25:49 +00:00
parent 672d4a6dbb
commit 7e606dafac

View File

@@ -244,7 +244,7 @@ int main ( int argc, char ** argv )
if ( interest > 1) {
char date[64];
currentTime.strftime ( date, sizeof ( date ),
"%Y-%m-%d %T.%09f");
"%Y-%m-%d %H:%M:%S.%09f");
char host[64];
ipAddrToA ( &ina, host, sizeof ( host ) );
printf ( "beacon %-40s %s\n", host, date );
@@ -262,7 +262,7 @@ int main ( int argc, char ** argv )
if ( anomaly ) {
char date[64];
currentTime.strftime ( date, sizeof ( date ),
"%Y-%m-%d %T.%09f");
"%Y-%m-%d %H:%M:%S.%09f");
char host[64];
ipAddrToA ( &ina, host, sizeof ( host ) );
printf ( "anomaly %-40s %s\n",