[asterisk-commits] file: trunk r84162 - /trunk/main/dnsmgr.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Oct 1 09:02:27 CDT 2007
Author: file
Date: Mon Oct 1 09:02:26 2007
New Revision: 84162
URL: http://svn.digium.com/view/asterisk?view=rev&rev=84162
Log:
Don't register the dnsmgr refresh CLI command twice.
(closes issue #10856)
Reported by: jamesgolovich
Patches:
asterisk-dnsmgrclireg.diff.txt uploaded by jamesgolovich (license 176)
Modified:
trunk/main/dnsmgr.c
Modified: trunk/main/dnsmgr.c
URL: http://svn.digium.com/view/asterisk/trunk/main/dnsmgr.c?view=diff&rev=84162&r1=84161&r2=84162
==============================================================================
--- trunk/main/dnsmgr.c (original)
+++ trunk/main/dnsmgr.c Mon Oct 1 09:02:26 2007
@@ -408,7 +408,6 @@
if (ast_pthread_create_background(&refresh_thread, NULL, do_refresh, NULL) < 0) {
ast_log(LOG_ERROR, "Unable to start refresh thread.\n");
}
- ast_cli_register(&cli_refresh);
}
/* make a background refresh happen right away */
refresh_sched = ast_sched_add_variable(sched, 100, refresh_list, &master_refresh_info, 1);
More information about the asterisk-commits
mailing list