[Freeswitch-svn] [commit] r13982 - freeswitch/trunk/src

FreeSWITCH SVN brian at freeswitch.org
Fri Jun 26 12:08:17 PDT 2009


Author: brian
Date: Fri Jun 26 14:08:17 2009
New Revision: 13982

Log:
 FSCORE-374 

Modified:
   freeswitch/trunk/src/switch_console.c

Modified: freeswitch/trunk/src/switch_console.c
==============================================================================
--- freeswitch/trunk/src/switch_console.c	(original)
+++ freeswitch/trunk/src/switch_console.c	Fri Jun 26 14:08:17 2009
@@ -432,6 +432,7 @@
 {
 	if (*prompt_str == '\0') {
 		gethostname(hostname, sizeof(hostname));
+		switch_core_set_variable("hostname", hostname);
 		switch_snprintf(prompt_str, sizeof(prompt_str), "freeswitch@%s> ", hostname);
 	}
 



More information about the Freeswitch-svn mailing list