Commit 64525124 authored by Pekka Pessi's avatar Pekka Pessi

outbound.c: make outbound timer deferrable

Re-recorded 20070725162526-65a35-d6964a5de1c621c96e999a77583229b57847299f

parent ce13f1b4
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment