Update of /cvsroot/agd/server/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28946
Modified Files:
log.c
Log Message:
Removed time functions.
Index: log.c
===================================================================
RCS file: /cvsroot/agd/server/src/log.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- log.c 21 Mar 2004 12:24:36 -0000 1.6
+++ log.c 21 Mar 2004 13:26:00 -0000 1.7
@@ -56,7 +56,7 @@
#endif
#endif
-#define WRITELOG(x) time(&t); fprintf(x, "%s [%s] %s", ctime(&t), prefix, str)
+#define WRITELOG(x) fprintf(x, "[%s] %s", prefix, str)
/* this currently writes the errors into a generic error log, maybe we should
write them into separate files */
@@ -65,7 +65,6 @@
{
char str[512];
va_list va;
- time_t t;
va_start(va, fmt);
vsprintf(str, fmt, va);
|