projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95b2b47
)
telnet_interface: get rid of 'const' warning
author
Harald Welte
<laforge@gnumonks.org>
Sat, 16 Jul 2011 09:59:44 +0000
(11:59 +0200)
committer
Harald Welte
<laforge@gnumonks.org>
Sat, 16 Jul 2011 10:03:46 +0000
(12:03 +0200)
src/vty/telnet_interface.c
patch
|
blob
|
history
diff --git
a/src/vty/telnet_interface.c
b/src/vty/telnet_interface.c
index
c08a256
..
7631f80
100644
(file)
--- a/
src/vty/telnet_interface.c
+++ b/
src/vty/telnet_interface.c
@@
-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>";
+ c
onst c
har *app_name = "<unnamed>";
if (host.app_info->name)
app_name = host.app_info->name;