[Asterisk-cvs] asterisk dnsmgr.c,1.11,1.12
kpfleming
kpfleming
Mon Nov 7 20:41:35 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv14518
Modified Files:
dnsmgr.c
Log Message:
let's actually use a variable scheduler event...
Index: dnsmgr.c
===================================================================
RCS file: /usr/cvsroot/asterisk/dnsmgr.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- dnsmgr.c 8 Nov 2005 01:29:14 -0000 1.11
+++ dnsmgr.c 8 Nov 2005 01:32:40 -0000 1.12
@@ -195,7 +195,7 @@
{
if (refresh_sched > -1) {
ast_sched_del(sched, refresh_sched);
- refresh_sched = ast_sched_add(sched, 100, refresh_list, &master_refresh_info);
+ refresh_sched = ast_sched_add_variable(sched, 100, refresh_list, &master_refresh_info, 1);
}
}
@@ -350,7 +350,7 @@
else {
ast_cli_register(&cli_refresh);
/* make a background refresh happen right away */
- refresh_sched = ast_sched_add(sched, 100, refresh_list, &master_refresh_info);
+ refresh_sched = ast_sched_add_variable(sched, 100, refresh_list, &master_refresh_info, 1);
res = 0;
}
}
More information about the svn-commits
mailing list