telnet_interface: get rid of 'const' warning

This commit is contained in:
Harald Welte 2011-07-16 11:59:44 +02:00
parent 95b2b47b26
commit 9c3cbfb01e
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ static void print_welcome(int fd)
int ret;
static const char *msg1 = "Welcome to the ";
static const char *msg2 = " control interface\r\n";
char *app_name = "<unnamed>";
const char *app_name = "<unnamed>";
if (host.app_info->name)
app_name = host.app_info->name;