aboutsummaryrefslogtreecommitdiffstats
path: root/src/RemoteControl.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-05-30 17:34:02 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-05-30 17:34:02 +0200
commit1f1d23622054ce204d9cf1c1a589c718321c667a (patch)
treee7b04395c7d87ec6afc3a62c0c00371a83b5d753 /src/RemoteControl.cpp
parentd17c32c28ca3a3810fde93889bfbdc5133ab1bf3 (diff)
downloaddabmod-1f1d23622054ce204d9cf1c1a589c718321c667a.tar.gz
dabmod-1f1d23622054ce204d9cf1c1a589c718321c667a.tar.bz2
dabmod-1f1d23622054ce204d9cf1c1a589c718321c667a.zip
Telnet RC: reduce scope of m_welcome and m_prompt
Diffstat (limited to 'src/RemoteControl.cpp')
-rw-r--r--src/RemoteControl.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/RemoteControl.cpp b/src/RemoteControl.cpp
index 65da3b7..666f891 100644
--- a/src/RemoteControl.cpp
+++ b/src/RemoteControl.cpp
@@ -58,8 +58,10 @@ void RemoteControllerTelnet::restart_thread(long)
void RemoteControllerTelnet::process(long)
{
- m_welcome = "ODR-DabMod Remote Control CLI\nWrite 'help' for help.\n**********\n";
- m_prompt = "> ";
+ std::string m_welcome = "ODR-DabMod Remote Control CLI\n"
+ "Write 'help' for help.\n"
+ "**********\n";
+ std::string m_prompt = "> ";
std::string in_message;
size_t length;