diff svr-session.c @ 316:dc6173e09ff7 ucc-axis-hack

smaller yet again
author Matt Johnston <matt@ucc.asn.au>
date Tue, 28 Mar 2006 16:04:11 +0000
parents 973fccb59ea4
children 063cf9e8efea
line wrap: on
line diff
--- a/svr-session.c	Mon Mar 27 08:36:44 2006 +0000
+++ b/svr-session.c	Tue Mar 28 16:04:11 2006 +0000
@@ -182,11 +182,13 @@
 	if (!svr_opts.usingsyslog || havetrace)
 	{
 		timesec = time(NULL);
+#if 0
 		if (strftime(datestr, sizeof(datestr), "%b %d %H:%M:%S", 
 					localtime(&timesec)) == 0) {
 			datestr[0] = '?'; datestr[1] = '\0';
 		}
-		printf( "[%d] %s %s\n", getpid(), datestr, printbuf);
+#endif
+		printf( "[%d] %d %s\n", getpid(), timesec, printbuf);
 	}
 }