[asterisk-commits] russell: branch russell/ast_verbose_threadstorage r38411 - /team/russell/ast_...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jul 28 01:21:50 MST 2006


Author: russell
Date: Fri Jul 28 03:21:49 2006
New Revision: 38411

URL: http://svn.digium.com/view/asterisk?rev=38411&view=rev
Log:
fix a little buglet where you would see the welcome message twice on remote
consoles

Modified:
    team/russell/ast_verbose_threadstorage/asterisk.c

Modified: team/russell/ast_verbose_threadstorage/asterisk.c
URL: http://svn.digium.com/view/asterisk/team/russell/ast_verbose_threadstorage/asterisk.c?rev=38411&r1=38410&r2=38411&view=diff
==============================================================================
--- team/russell/ast_verbose_threadstorage/asterisk.c (original)
+++ team/russell/ast_verbose_threadstorage/asterisk.c Fri Jul 28 03:21:49 2006
@@ -2409,12 +2409,10 @@
 		}
 	}
 
-	if (ast_opt_console || option_verbose || (ast_opt_remote && !ast_opt_exec))
+	if (ast_opt_console || option_verbose || (ast_opt_remote && !ast_opt_exec)) {
 		ast_register_verbose(console_verboser);
-
-	/* Print a welcome message if desired */
-	if (option_verbose || ast_opt_console)
 		WELCOME_MESSAGE;
+	}
 
 	if (ast_opt_console && !option_verbose) 
 		ast_verbose("[ Booting...\n");
@@ -2540,7 +2538,6 @@
 				exit(0);
 			}
 			printf(term_quit());
-			WELCOME_MESSAGE;
 			ast_remotecontrol(NULL);
 			quit_handler(0, 0, 0, 0);
 			exit(0);



More information about the asterisk-commits mailing list