mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
mqtt: make NOSTATE get within the debug name array
This commit is contained in:
parent
bae87dc0d9
commit
10fece336f
@ -388,7 +388,9 @@ static const char *statenames[]={
|
||||
"MQTT_SUBACK",
|
||||
"MQTT_SUBACK_COMING",
|
||||
"MQTT_PUBWAIT",
|
||||
"MQTT_PUB_REMAIN"
|
||||
"MQTT_PUB_REMAIN",
|
||||
|
||||
"NOT A STATE"
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -35,7 +35,7 @@ enum mqttstate {
|
||||
MQTT_PUBWAIT, /* 5 - wait for publish */
|
||||
MQTT_PUB_REMAIN, /* 6 - wait for the remainder of the publish */
|
||||
|
||||
MQTT_NOSTATE = 99 /* never an actual state */
|
||||
MQTT_NOSTATE /* 7 - never used an actual state */
|
||||
};
|
||||
|
||||
struct mqtt_conn {
|
||||
|
Loading…
x
Reference in New Issue
Block a user