mirror of
https://github.com/curl/curl.git
synced 2026-04-19 21:11:14 +03:00
mqtt: make NOSTATE get within the debug name array
This commit is contained in:
parent
bae87dc0d9
commit
10fece336f
2 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue