[ekg2-commit] ekg2: stuff.c (HEAD) [peres]

CVS commit cvs w toxygen.net
Sob, 27 Paź 2007, 09:43:32 CEST


Module name:	ekg2
Changes by:	peres	2007-10-27 09:43:30

Modified files:
	stuff.c

Log message:
In most places we use x = time(NULL), keep the convention.

Index: stuff.c
===================================================================
RCS file: /home/cvs/ekg2/ekg/stuff.c,v
diff -d -u -r1.214 -r1.215
--- stuff.c	20 Oct 2007 21:02:02 -0000	1.214
+++ stuff.c	27 Oct 2007 07:43:30 -0000	1.215
@@ -1827,7 +1827,7 @@
 	if (!format || format[0] == '\0')
 		return "";
 
-	time(&t);
+	t = time(NULL);
 	tm = localtime(&t);
 	if (!strftime(buf, sizeof(buf), format, tm))
 		return "TOOLONG";


Więcej informacji o liście dyskusyjnej ekg2-commit