mbed.org implementation of the abstract SmartREST library for the Cumulocity Platform SmartREST protocol.

Dependents:   MbedSmartRestMain MbedSmartRestMain

Revision:
9:158899760473
Parent:
8:3a4dba260b71
Child:
10:97077cfa13fc
--- a/MbedClient.h	Thu Oct 23 13:17:04 2014 +0200
+++ b/MbedClient.h	Thu Oct 23 13:23:43 2014 +0200
@@ -36,7 +36,7 @@
 #include "MbedDataSink.h"
 #include "HTTPResponseFilter.h"
 
-#define MBCL_DBG(fmt, ...) fprintf(stderr, "mbed::debig: " fmt "\r\n", __VA_ARGS__)
+#define MBCL_DBG(...) do { fprintf(stderr, "MbedClient: "); fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\r\n"); } while (0);
 //#define MBCL_DBG(fmt, ...)
 
 class MbedClient : public AbstractClient {