summaryrefslogtreecommitdiff
path: root/lib/mqtt.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-04-20 23:27:04 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-04-20 23:27:04 +0200
commit10fece336f1ec9d96a7dc419b0f730da4cdaf29d (patch)
treeff60ab23ecf51dcb327cc1c26d7bd9c582073c10 /lib/mqtt.c
parentbae87dc0d93d8e56bd1038d4a46477992eaa1bdd (diff)
downloadcurl-10fece336f1ec9d96a7dc419b0f730da4cdaf29d.tar.gz
mqtt: make NOSTATE get within the debug name array
Diffstat (limited to 'lib/mqtt.c')
-rw-r--r--lib/mqtt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/mqtt.c b/lib/mqtt.c
index 4c664f7f6..43a3b6e53 100644
--- a/lib/mqtt.c
+++ b/lib/mqtt.c
@@ -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