From f419f8cb2e3768789cb23593cfa7c850acc0fe72 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli (think)" Date: Thu, 16 Aug 2012 17:11:17 +0200 Subject: crc-dabmod: RemoteControl cleanup --- src/RemoteControl.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/RemoteControl.cpp') 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 params = get_param_list_(cmd[1]); - for (list::iterator it = params.begin(); it != params.end(); it++) { - ss << *it << " "; + + list< vector > params = get_parameter_descriptions_(cmd[1]); + for (list< vector >::iterator it = params.begin(); it != params.end(); it++) { + ss << (*it)[0] << " : " << (*it)[1] << endl; } reply(socket, ss.str()); } -- cgit v1.2.3