[asterisk-commits] russell: branch russell/sched_thread r148824 - /team/russell/sched_thread/cha...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 14 09:09:03 CDT 2008
Author: russell
Date: Tue Oct 14 09:09:02 2008
New Revision: 148824
URL: http://svn.digium.com/view/asterisk?view=rev&rev=148824
Log:
fix build
Modified:
team/russell/sched_thread/channels/chan_sip.c
Modified: team/russell/sched_thread/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/russell/sched_thread/channels/chan_sip.c?view=diff&rev=148824&r1=148823&r2=148824
==============================================================================
--- team/russell/sched_thread/channels/chan_sip.c (original)
+++ team/russell/sched_thread/channels/chan_sip.c Tue Oct 14 09:09:02 2008
@@ -4634,7 +4634,7 @@
sip_destroy(mwi->call);
}
- AST_SCHED_DEL(sched, mwi->resub);
+ ast_sched_thread_del(sched, mwi->resub);
ast_string_field_free_memory(mwi);
ast_dnsmgr_release(mwi->dnsmgr);
ast_free(mwi);
@@ -15946,7 +15946,7 @@
p->options = NULL;
}
p->mwi->subscribed = 1;
- p->mwi->resub = ast_sched_add(sched, mwi_expiry * 1000, sip_subscribe_mwi_do, p->mwi);
+ p->mwi->resub = ast_sched_thread_add(sched, mwi_expiry * 1000, sip_subscribe_mwi_do, p->mwi);
break;
case 401:
case 407:
@@ -23159,8 +23159,8 @@
{
ASTOBJ_CONTAINER_TRAVERSE(&submwil, 1, do {
ASTOBJ_WRLOCK(iterator);
- AST_SCHED_DEL(sched, iterator->resub);
- iterator->resub = ast_sched_add(sched, 1, sip_subscribe_mwi_do, iterator);
+ ast_sched_thread_del(sched, iterator->resub);
+ iterator->resub = ast_sched_thread_add(sched, 1, sip_subscribe_mwi_do, iterator);
ASTOBJ_UNLOCK(iterator);
} while (0));
}
More information about the asterisk-commits
mailing list