[asterisk-commits] russell: branch group/timing r122525 - /team/group/timing/res/res_timing_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 13 07:52:03 CDT 2008


Author: russell
Date: Fri Jun 13 07:52:02 2008
New Revision: 122525

URL: http://svn.digium.com/view/asterisk?view=rev&rev=122525
Log:
Do not allow res_timing_dahdi to be unloaded.  We can re-enable this once we
add automatic use count handling for timing modules.

Modified:
    team/group/timing/res/res_timing_dahdi.c

Modified: team/group/timing/res/res_timing_dahdi.c
URL: http://svn.digium.com/view/asterisk/team/group/timing/res/res_timing_dahdi.c?view=diff&rev=122525&r1=122524&r2=122525
==============================================================================
--- team/group/timing/res/res_timing_dahdi.c (original)
+++ team/group/timing/res/res_timing_dahdi.c Fri Jun 13 07:52:02 2008
@@ -180,9 +180,11 @@
 
 static int unload_module(void)
 {
-	ast_uninstall_timing_functions(timing_funcs_handle);
+	/* ast_uninstall_timing_functions(timing_funcs_handle); */
 
-	return 0;
+	/* This module can not currently be unloaded.  No use count handling is being done. */
+
+	return -1;
 }
 
 AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "DAHDI Timing Interface");




More information about the asterisk-commits mailing list