aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-13 06:02:57 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-13 06:02:57 +0000
commit71bcc4064f776338190349420ff2f761d3ce46bb (patch)
treedeaf7551d3f7b730046e27897296cddd6a2a7884 /main
parent32e9fe9768a8e116f47cd4fc685afe99eaa5fbf0 (diff)
Simplify WELCOME_MESSAGE to be a single function call instead of one for each
line. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54148 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/asterisk.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index 448f60824..47d58cecc 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -136,15 +136,15 @@ int daemon(int, int); /* defined in libresolv of all places */
/*! \brief Welcome message when starting a CLI interface */
#define WELCOME_MESSAGE \
- ast_verbose("Asterisk " ASTERISK_VERSION ", Copyright (C) 1999 - 2006 Digium, Inc. and others.\n"); \
- ast_verbose("Created by Mark Spencer <markster@digium.com>\n"); \
- ast_verbose("Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.\n"); \
- ast_verbose("This is free software, with components licensed under the GNU General Public\n"); \
- ast_verbose("License version 2 and other licenses; you are welcome to redistribute it under\n"); \
- ast_verbose("certain conditions. Type 'core show license' for details.\n"); \
- ast_verbose("=========================================================================\n"); \
- ast_verbose("NOTE: This is a development version of Asterisk, and should not be used in\n"); \
- ast_verbose("production installations.\n");
+ ast_verbose("Asterisk " ASTERISK_VERSION ", Copyright (C) 1999 - 2006 Digium, Inc. and others.\n" \
+ "Created by Mark Spencer <markster@digium.com>\n" \
+ "Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.\n" \
+ "This is free software, with components licensed under the GNU General Public\n" \
+ "License version 2 and other licenses; you are welcome to redistribute it under\n" \
+ "certain conditions. Type 'core show license' for details.\n" \
+ "=========================================================================\n" \
+ "NOTE: This is a development version of Asterisk, and should not be used in\n" \
+ "production installations.\n");
/*! \defgroup main_options Main Configuration Options
\brief Main configuration options from \ref Config_ast "asterisk.conf" or