summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2013-12-06 12:03:56 +0100
committerJonas Suhr Christensen <jsc@umbraculum.org>2013-12-06 12:03:56 +0100
commit81d5962b88a59291d3296a84ab7bdca537cf63cf (patch)
tree21654dfb00a6dde310eb6278c7e55d15dc662adb
parent143b3bb8a919ccdb2b76832fe64fde8ef4744cf2 (diff)
Fixed debug errors
-rw-r--r--src/muniacli.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/muniacli.cc b/src/muniacli.cc
index 4a95b2a..18a5d9a 100644
--- a/src/muniacli.cc
+++ b/src/muniacli.cc
@@ -54,7 +54,6 @@ static int callback_lws_task(struct libwebsocket_context *me,
unsigned char buf[LWS_SEND_BUFFER_PRE_PADDING + 4096 +
LWS_SEND_BUFFER_POST_PADDING];
int l;
- char msg[4096];
std::string r;
switch (reason) {
@@ -184,7 +183,7 @@ int main(int argc, char** argv)
int port = 7681;
std::string host = "localhost";
std::string cmd;
- bool raw = true;
+// bool raw = true;
run = true;
@@ -203,7 +202,7 @@ int main(int argc, char** argv)
host = optarg;
break;
case 'r':
- raw = true;
+// raw = true;
break;
case 'h':
fprintf(stderr, "%s\n", USAGE);