mqtt specific components for the impact mbed endpoint library
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp
Diff: IOCHTTPTransport.cpp
- Revision:
- 46:32a7545dde45
- Parent:
- 36:23a1b2dde4d9
- Child:
- 48:7192a7a4edcd
--- a/IOCHTTPTransport.cpp Tue Jul 01 20:59:35 2014 +0000 +++ b/IOCHTTPTransport.cpp Tue Jul 01 21:26:40 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->getGWAddress()); + sprintf(this->m_url_buffer,GW_REDIRECT_URL,endpoint->getGWPort(),endpoint->getGWAddress()); } return this->m_url_buffer; }