mqtt specific components for the impact mbed endpoint library

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp

Revision:
48:7192a7a4edcd
Parent:
46:32a7545dde45
Child:
56:789a1a8c5ebe
--- a/IOCHTTPTransport.cpp	Tue Jul 01 21:38:51 2014 +0000
+++ b/IOCHTTPTransport.cpp	Tue Jul 01 22:01:09 2014 +0000
@@ -78,7 +78,7 @@
          
          // use the GW HTTP redirector
          memset(this->m_url_buffer,0,IOC_REST_URL_LEN+1);
-         sprintf(this->m_url_buffer,GW_REDIRECT_URL,endpoint->getGWPort(),endpoint->getGWAddress());
+         sprintf(this->m_url_buffer,GW_REDIRECT_URL,endpoint->getGWAddress(),endpoint->getGWPort());
      }
      return this->m_url_buffer;
  }