forked from Mirrors/freeswitch
Wed Jan 28 12:07:53 CST 2009 Pekka Pessi <first.last@nokia.com>
* outbound.c: make outbound timer deferrable git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11854 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
cc6fc1d277
commit
314d3883dd
@ -1 +1 @@
|
||||
Wed Feb 11 11:17:39 CST 2009
|
||||
Wed Feb 11 11:18:06 CST 2009
|
||||
|
@ -684,9 +684,11 @@ void outbound_start_keepalive(outbound_t *ob,
|
||||
if (ob->ob_keepalive.timer)
|
||||
su_timer_destroy(ob->ob_keepalive.timer), ob->ob_keepalive.timer = NULL;
|
||||
|
||||
if (interval)
|
||||
if (interval) {
|
||||
ob->ob_keepalive.timer =
|
||||
su_timer_create(su_root_task(ob->ob_root), interval);
|
||||
su_timer_deferrable(ob->ob_keepalive.timer, 1);
|
||||
}
|
||||
|
||||
ob->ob_keepalive.interval = interval;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user