Fork of HTTPClient by
Diff: HTTPClient.cpp
- Revision:
- 22:d4389480e952
- Parent:
- 21:199217e7fa41
--- a/HTTPClient.cpp Tue Feb 10 12:21:03 2015 +0000 +++ b/HTTPClient.cpp Thu Mar 12 12:44:17 2015 +0000 @@ -18,7 +18,7 @@ */ //Debug is disabled by default -#if 0 +#if 1 //Enable debug #include <cstdio> #define DBG(x, ...) std::printf("[HTTPClient : DBG]"x"\r\n", ##__VA_ARGS__); @@ -310,7 +310,7 @@ ret = send(data, strlen(data)); CHECK_CONN_ERR(ret); - /* +#if 1 //Receive response printf("\n Receiving response"); @@ -610,7 +610,7 @@ } } - */ +#endif m_sock.close(); DBG("Completed HTTP transaction");