[Asterisk-cvs] asterisk cli.c,1.53,1.53.2.1 pbx.c,1.154,1.154.2.1

russell at lists.digium.com russell at lists.digium.com
Fri Oct 8 19:28:41 CDT 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv27101

Modified Files:
      Tag: v1-0
	cli.c pbx.c 
Log Message:
verbose fixes (bug #2602)


Index: cli.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cli.c,v
retrieving revision 1.53
retrieving revision 1.53.2.1
diff -u -d -r1.53 -r1.53.2.1
--- cli.c	13 Sep 2004 18:19:15 -0000	1.53
+++ cli.c	8 Oct 2004 23:29:50 -0000	1.53.2.1
@@ -148,7 +148,7 @@
 		ast_cli(fd, "Verbosity was %d and is now %d\n", oldval, option_verbose);
 	else if (oldval > 0 && option_verbose > 0)
 		ast_cli(fd, "Verbosity is atleast %d\n", option_verbose);
-	else if (oldval > 0 && option_debug == 0)
+	else if (oldval > 0 && option_verbose == 0)
 		ast_cli(fd, "Verbosity is now OFF\n");
 	return RESULT_SUCCESS;
 }

Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.154
retrieving revision 1.154.2.1
diff -u -d -r1.154 -r1.154.2.1
--- pbx.c	24 Sep 2004 21:32:56 -0000	1.154
+++ pbx.c	8 Oct 2004 23:29:50 -0000	1.154.2.1
@@ -1258,7 +1258,7 @@
 				pbx_substitute_variables(passdata, sizeof(passdata), c, e);
 				if (option_debug)
 						ast_log(LOG_DEBUG, "Launching '%s'\n", app->name);
-				else if (option_verbose > 2)
+				if (option_verbose > 2)
 						ast_verbose( VERBOSE_PREFIX_3 "Executing %s(\"%s\", \"%s\") %s\n", 
 								term_color(tmp, app->name, COLOR_BRCYAN, 0, sizeof(tmp)),
 								term_color(tmp2, c->name, COLOR_BRMAGENTA, 0, sizeof(tmp2)),




More information about the svn-commits mailing list