picky, picky

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4804 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-03-30 13:47:56 +00:00
parent d292e9de4f
commit 324f6b00aa
1 changed files with 1 additions and 1 deletions

View File

@ -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;