summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-05-22 21:17:43 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-05-22 21:17:43 +0200
commit2391d2a38ff9d85f802f2453ffe20fb58915c097 (patch)
tree177ea268565b5e755f0530304ffeb529c491d35d /src
parent060706b08b2fec298a99d63f2e94a76bd7e40e20 (diff)
downloaddabmux-2391d2a38ff9d85f802f2453ffe20fb58915c097.tar.gz
dabmux-2391d2a38ff9d85f802f2453ffe20fb58915c097.tar.bz2
dabmux-2391d2a38ff9d85f802f2453ffe20fb58915c097.zip
ManagementServer: missing else in command parser
Diffstat (limited to 'src')
-rw-r--r--src/ManagementServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ManagementServer.cpp b/src/ManagementServer.cpp
index 9ebdfeb..ae3a0cb 100644
--- a/src/ManagementServer.cpp
+++ b/src/ManagementServer.cpp
@@ -277,7 +277,7 @@ void ManagementServer::serverThread()
std::string json = getStateJSON();
n = write(accepted_sock, json.c_str(), json.size());
}
- if (strcmp(buffer, "getptree\n") == 0) {
+ else if (strcmp(buffer, "getptree\n") == 0) {
boost::unique_lock<boost::mutex> lock(m_configmutex);
m_pending = true;