From 81d5962b88a59291d3296a84ab7bdca537cf63cf Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Fri, 6 Dec 2013 12:03:56 +0100 Subject: Fixed debug errors --- src/muniacli.cc | 5 ++--- 1 file 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); -- cgit v1.2.3