[Freeswitch-svn] [commit] r4804 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Fri Mar 30 09:47:56 EDT 2007


Author: anthm
Date: Fri Mar 30 09:47:56 2007
New Revision: 4804

Modified:
   freeswitch/trunk/src/switch_scheduler.c

Log:
picky, picky

Modified: freeswitch/trunk/src/switch_scheduler.c
==============================================================================
--- freeswitch/trunk/src/switch_scheduler.c	(original)
+++ freeswitch/trunk/src/switch_scheduler.c	Fri Mar 30 09:47:56 2007
@@ -153,7 +153,7 @@
 	switch_zmalloc(container, sizeof(*container));
 	assert(func);
 	container->func = func;
-	time(&container->task.created);
+	container->task.created = time(NULL);
 	container->task.runtime = task_runtime;
 	container->task.group = strdup(group ? group : "none");
 	container->task.cmd_id = cmd_id;



More information about the Freeswitch-svn mailing list