[asterisk-commits] rmudgett: branch rmudgett/parking r331246 - /team/rmudgett/parking/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 9 15:37:11 CDT 2011


Author: rmudgett
Date: Tue Aug  9 15:37:07 2011
New Revision: 331246

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=331246
Log:
Remove some debug code.

Modified:
    team/rmudgett/parking/main/features.c

Modified: team/rmudgett/parking/main/features.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/parking/main/features.c?view=diff&rev=331246&r1=331245&r2=331246
==============================================================================
--- team/rmudgett/parking/main/features.c (original)
+++ team/rmudgett/parking/main/features.c Tue Aug  9 15:37:07 2011
@@ -6017,10 +6017,8 @@
 {
 	struct pbx_find_info q = { .stacklen = 0 }; /* the rest is reset in pbx_find_extension */
 
-ast_log(LOG_NOTICE, "BUGBUG Request to remove exten: %s@%s priority:%d\n", exten, context, priority);
 	if (pbx_find_extension(NULL, NULL, &q, context, exten, priority, NULL, NULL,
 		E_MATCH)) {
-ast_log(LOG_NOTICE, "BUGBUG Removing exten: %s@%s priority:%d\n", exten, context, priority);
 		ast_context_remove_extension(context, exten, priority, registrar);
 	}
 }
@@ -6296,12 +6294,8 @@
 
 static int load_config(int reload)
 {
-#ifdef BUGBUG	// Force to always reload features
 	struct ast_flags config_flags = {
 		reload && !force_reload_load ? CONFIG_FLAG_FILEUNCHANGED : 0 };
-#else
-	struct ast_flags config_flags = { 0 };
-#endif
 	struct ast_config *cfg;
 	struct parking_dp_map old_usage_map = AST_LIST_HEAD_NOLOCK_INIT_VALUE;
 	struct parking_dp_map new_usage_map = AST_LIST_HEAD_NOLOCK_INIT_VALUE;




More information about the asterisk-commits mailing list