[asterisk-commits] russell: trunk r122526 - /trunk/res/res_timing_dahdi.c

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


Author: russell
Date: Fri Jun 13 07:53:08 2008
New Revision: 122526

URL: http://svn.digium.com/view/asterisk?view=rev&rev=122526
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:
    trunk/res/res_timing_dahdi.c

Modified: trunk/res/res_timing_dahdi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_timing_dahdi.c?view=diff&rev=122526&r1=122525&r2=122526
==============================================================================
--- trunk/res/res_timing_dahdi.c (original)
+++ trunk/res/res_timing_dahdi.c Fri Jun 13 07:53:08 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