aboutsummaryrefslogtreecommitdiffstats
path: root/src/RemoteControl.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli (think) <matthias@mpb.li>2012-08-16 17:11:17 +0200
committerMatthias P. Braendli (think) <matthias@mpb.li>2012-08-16 17:11:17 +0200
commitf419f8cb2e3768789cb23593cfa7c850acc0fe72 (patch)
tree57b37507d5175aae6b7a104af16dabf2a5fcbcb6 /src/RemoteControl.cpp
parent2a4ec6dd6a48668589c7db2206c97e8781b644b3 (diff)
downloaddabmod-f419f8cb2e3768789cb23593cfa7c850acc0fe72.tar.gz
dabmod-f419f8cb2e3768789cb23593cfa7c850acc0fe72.tar.bz2
dabmod-f419f8cb2e3768789cb23593cfa7c850acc0fe72.zip
crc-dabmod: RemoteControl cleanup
Diffstat (limited to 'src/RemoteControl.cpp')
-rw-r--r--src/RemoteControl.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/RemoteControl.cpp b/src/RemoteControl.cpp
index b534914..53b7204 100644
--- a/src/RemoteControl.cpp
+++ b/src/RemoteControl.cpp
@@ -130,9 +130,10 @@ RemoteControllerTelnet::dispatch_command(tcp::socket& socket, string command)
else if (cmd.size() == 2) {
try {
stringstream ss;
- list<string> params = get_param_list_(cmd[1]);
- for (list<string>::iterator it = params.begin(); it != params.end(); it++) {
- ss << *it << " ";
+
+ list< vector<string> > params = get_parameter_descriptions_(cmd[1]);
+ for (list< vector<string> >::iterator it = params.begin(); it != params.end(); it++) {
+ ss << (*it)[0] << " : " << (*it)[1] << endl;
}
reply(socket, ss.str());
}