FSCORE-374
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13982 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
40dd768a3f
commit
292c7fd6b6
|
@ -432,6 +432,7 @@ char *prompt(EditLine * e)
|
|||
{
|
||||
if (*prompt_str == '\0') {
|
||||
gethostname(hostname, sizeof(hostname));
|
||||
switch_core_set_variable("hostname", hostname);
|
||||
switch_snprintf(prompt_str, sizeof(prompt_str), "freeswitch@%s> ", hostname);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue