[asterisk-commits] mmichelson: trunk r90061 - /trunk/main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 28 16:17:38 CST 2007


Author: mmichelson
Date: Wed Nov 28 16:17:38 2007
New Revision: 90061

URL: http://svn.digium.com/view/asterisk?view=rev&rev=90061
Log:
Removing a pointless check of option_debug


Modified:
    trunk/main/pbx.c

Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=90061&r1=90060&r2=90061
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Wed Nov 28 16:17:38 2007
@@ -2648,9 +2648,7 @@
 				ast_copy_string(c->exten, exten, sizeof(c->exten));
 			c->priority = priority;
 			pbx_substitute_variables(passdata, sizeof(passdata), c, e);
-			if (option_debug) {
-				ast_debug(1, "Launching '%s'\n", app->name);
-			}
+			ast_debug(1, "Launching '%s'\n", app->name);
 			if (option_verbose > 2) {
 				char tmp[80], tmp2[80], tmp3[EXT_DATA_SIZE];
 				ast_verb(3, "Executing [%s@%s:%d] %s(\"%s\", \"%s\") %s\n",




More information about the asterisk-commits mailing list