An API for using MQTT over multiple transports
Dependents: Water_Monitor_clone_v1 Cloud_IBM_MbedOS ble-star-mbed
Fork of MQTT by
Diff: MQTTClient.h
- Revision:
- 61:688f195846f1
- Parent:
- 60:0534b5d3c941
--- a/MQTTClient.h Tue Nov 14 13:43:19 2017 +0000
+++ b/MQTTClient.h Wed Jan 24 09:25:58 2018 +0100
@@ -668,7 +668,7 @@
rc = FAILURE;
exit:
- if (rc == SUCCESS)
+ if (rc == MQTT::SUCCESS)
rc = packet_type;
else if (isconnected)
closeSession();
