Commit 978fc1ea authored by canterburym's avatar canterburym

Rebuilding without DEBUG flag

parent 7d5c7dac
#define DEBUG
#include <pthread.h> #include <pthread.h>
#include <assert.h> #include <assert.h>
#include <getopt.h> #include <getopt.h>
...@@ -354,7 +352,7 @@ int main(const int iArgC, char *papsArgV[]) ...@@ -354,7 +352,7 @@ int main(const int iArgC, char *papsArgV[])
exit(-1); exit(-1);
} }
int iBytesSent=SSL_write(tConfig.pSSL, text->valuestring, strlen(text->valuestring)); int iBytesSent=SSL_write(tConfig.pSSL, text->valuestring, strlen(text->valuestring));
printf ("[CLIENT DEBUG] Sent %d bytes { %s }\n", iBytesSent, text->valuestring); printf ("[CLIENT] Sent %d bytes { %s }\n", iBytesSent, text->valuestring);
} }
cJSON_Delete(json); cJSON_Delete(json);
......
#define DEBUG
#include "common.h" #include "common.h"
#include <time.h> #include <time.h>
#include <stdbool.h> #include <stdbool.h>
...@@ -474,7 +472,7 @@ int main(int argc, char **argv) ...@@ -474,7 +472,7 @@ int main(int argc, char **argv)
if (argc < 4) if (argc < 4)
{ {
printf ("Usage: mcmbox port proxy-address midlebox-id [command handler...]\n"); printf ("Usage: middlebox port proxy-address midlebox-id [command handler...]\n");
exit(0); exit(0);
} }
port = atoi(argv[1]); port = atoi(argv[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment