[svn-commits] russell: branch 1.8 r281982 - /branches/1.8/main/pbx.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Aug 12 11:33:36 CDT 2010


Author: russell
Date: Thu Aug 12 11:33:30 2010
New Revision: 281982

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=281982
Log:
Remove debugging output from verbose messages.

Pointer values to internal objects is not terribly useful to users in the
verbose messages about adding extensions and contexts.

Modified:
    branches/1.8/main/pbx.c

Modified: branches/1.8/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/pbx.c?view=diff&rev=281982&r1=281981&r2=281982
==============================================================================
--- branches/1.8/main/pbx.c (original)
+++ branches/1.8/main/pbx.c Thu Aug 12 11:33:30 2010
@@ -6853,16 +6853,16 @@
 		*local_contexts = tmp;
 		ast_hashtab_insert_safe(contexts_table, tmp); /*put this context into the tree */
 		ast_unlock_contexts();
-		ast_debug(1, "Registered context '%s'(%p) in table %p registrar: %s\n", tmp->name, tmp, contexts_table, registrar);
-		ast_verb(3, "Registered extension context '%s' (%p) in table %p; registrar: %s\n", tmp->name, tmp, contexts_table, registrar);
+		ast_debug(1, "Registered context '%s' ; registrar: %s\n", tmp->name, registrar);
+		ast_verb(3, "Registered extension context '%s' ; registrar: %s\n", tmp->name, registrar);
 	} else {
 		tmp->next = *local_contexts;
 		if (exttable)
 			ast_hashtab_insert_immediate(exttable, tmp); /*put this context into the tree */
 
 		*local_contexts = tmp;
-		ast_debug(1, "Registered context '%s'(%p) in local table %p; registrar: %s\n", tmp->name, tmp, exttable, registrar);
-		ast_verb(3, "Registered extension context '%s' (%p) in local table %p; registrar: %s\n", tmp->name, tmp, exttable, registrar);
+		ast_debug(1, "Registered context '%s' ; registrar: %s\n", tmp->name, registrar);
+		ast_verb(3, "Registered extension context '%s' ; registrar: %s\n", tmp->name, registrar);
 	}
 	return tmp;
 }
@@ -8194,20 +8194,20 @@
 	}
 	if (option_debug) {
 		if (tmp->matchcid) {
-			ast_debug(1, "Added extension '%s' priority %d (CID match '%s') to %s (%p)\n",
-					  tmp->exten, tmp->priority, tmp->cidmatch, con->name, con);
+			ast_debug(1, "Added extension '%s' priority %d (CID match '%s') to %s\n",
+					  tmp->exten, tmp->priority, tmp->cidmatch, con->name);
 		} else {
-			ast_debug(1, "Added extension '%s' priority %d to %s (%p)\n",
-					  tmp->exten, tmp->priority, con->name, con);
+			ast_debug(1, "Added extension '%s' priority %d to %s\n",
+					  tmp->exten, tmp->priority, con->name);
 		}
 	}
 
 	if (tmp->matchcid) {
-		ast_verb(3, "Added extension '%s' priority %d (CID match '%s') to %s (%p)\n",
-				 tmp->exten, tmp->priority, tmp->cidmatch, con->name, con);
+		ast_verb(3, "Added extension '%s' priority %d (CID match '%s') to %s\n",
+				 tmp->exten, tmp->priority, tmp->cidmatch, con->name);
 	} else {
-		ast_verb(3, "Added extension '%s' priority %d to %s (%p)\n",
-				 tmp->exten, tmp->priority, con->name, con);
+		ast_verb(3, "Added extension '%s' priority %d to %s\n",
+				 tmp->exten, tmp->priority, con->name);
 	}
 
 	return 0;




More information about the svn-commits mailing list