[asterisk-commits] mmichelson: branch mmichelson/queue-reset r101079 - /team/mmichelson/queue-re...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 29 17:49:51 CST 2008


Author: mmichelson
Date: Tue Jan 29 17:49:50 2008
New Revision: 101079

URL: http://svn.digium.com/view/asterisk?view=rev&rev=101079
Log:
Remove debugging statements since this is about ready to merge. Next step is to update
documentation as necessary.


Modified:
    team/mmichelson/queue-reset/apps/app_queue.c

Modified: team/mmichelson/queue-reset/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/team/mmichelson/queue-reset/apps/app_queue.c?view=diff&rev=101079&r1=101078&r2=101079
==============================================================================
--- team/mmichelson/queue-reset/apps/app_queue.c (original)
+++ team/mmichelson/queue-reset/apps/app_queue.c Tue Jan 29 17:49:50 2008
@@ -5195,16 +5195,6 @@
 
 static int reload_handler(int reload, enum queue_reload_mask mask, const char *queuename)
 {
-	/*DEBUG STUFF REMOVE WHEN MERGING*/
-	if (mask & QUEUE_RELOAD)
-		ast_log(LOG_DEBUG, "Gonna reload the queue info\n");
-	if (mask & QUEUE_RELOAD_RULES)
-		ast_log(LOG_DEBUG, "Gonna reload the queue rules\n");
-	if (mask & QUEUE_RELOAD_MEMBER)
-		ast_log(LOG_DEBUG, "Gonna reload queue members\n");
-	if (mask & QUEUE_RESET_STATS)
-		ast_log(LOG_DEBUG, "Gonna reset the stats\n");
-	ast_log(LOG_DEBUG, "The above applies to %s\n", S_OR(queuename, "all queues"));
 	if (mask & QUEUE_RELOAD_RULES)
 		reload_queue_rules(reload);
 	if (mask & QUEUE_RESET_STATS)
@@ -6081,10 +6071,6 @@
 	struct rule_list *rl_iter;
 	int wordlen = strlen(word);
 	char *ret = NULL;
-	if (pos != 3) /* Wha? */ {
-		ast_log(LOG_DEBUG, "Hitting this???, pos is %d\n", pos);
-		return NULL;
-	}
 
 	AST_LIST_LOCK(&rule_lists);
 	AST_LIST_TRAVERSE(&rule_lists, rl_iter, list) {




More information about the asterisk-commits mailing list