1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-15 00:22:35 +00:00

silence picky compiler.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5678 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-08-29 20:38:00 +00:00
parent 0ff988b19e
commit 9c364f9ff4

@ -183,7 +183,7 @@ static int32_t running = 1;
static char prompt_str[512] = "";
char * prompt(EditLine *e) {
if (switch_strlen_zero(prompt_str)) {
if (*prompt_str == '\0') {
gethostname(hostname, sizeof(hostname));
snprintf(prompt_str, sizeof(prompt_str), "freeswitch@%s> ", hostname);
}