Azure IoT / Mbed 2 deprecated iothub_client_sample_http

Dependencies:   iothub_client EthernetInterface iothub_http_transport mbed-rtos mbed wolfSSL azure_c_shared_utility NTPClient

Revision:
54:54dc461c75da
Parent:
49:2aa1b773af3c
Child:
62:2320ad565fc3
--- a/iothub_client_sample_http.c	Thu Sep 22 18:17:32 2016 -0700
+++ b/iothub_client_sample_http.c	Thu Oct 20 17:08:51 2016 -0700
@@ -58,7 +58,7 @@
     else
     {
         (void)printf("Received Message [%d] with Data: <<<%.*s>>> & Size=%d\r\n", *counter, (int)size, buffer, (int)size);
-        if (memcmp(buffer, "quit", size) == 0)
+		if (size == (strlen("quit") * sizeof(char)) && memcmp(buffer, "quit", size) == 0)
         {
             g_continueRunning = false;
         }