From 324f6b00aa05284135c26b0575a611e5bc50c214 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 30 Mar 2007 13:47:56 +0000 Subject: [PATCH] picky, picky git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4804 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_scheduler.c b/src/switch_scheduler.c index d26e706f8b..58ca9cdad2 100644 --- a/src/switch_scheduler.c +++ b/src/switch_scheduler.c @@ -153,7 +153,7 @@ SWITCH_DECLARE(uint32_t) switch_scheduler_add_task(time_t task_runtime, 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;