telnet_interface: get rid of 'const' warning
authorHarald Welte <laforge@gnumonks.org>
Sat, 16 Jul 2011 09:59:44 +0000 (11:59 +0200)
committerHarald Welte <laforge@gnumonks.org>
Sat, 16 Jul 2011 10:03:46 +0000 (12:03 +0200)
src/vty/telnet_interface.c

index c08a256..7631f80 100644 (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;