[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 235/264: mqtt: make NOSTATE get within the debug name array
From: |
gnunet |
Subject: |
[gnurl] 235/264: mqtt: make NOSTATE get within the debug name array |
Date: |
Thu, 30 Apr 2020 16:08:58 +0200 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit 10fece336f1ec9d96a7dc419b0f730da4cdaf29d
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Apr 20 23:27:04 2020 +0200
mqtt: make NOSTATE get within the debug name array
---
lib/mqtt.c | 4 +++-
lib/mqtt.h | 2 +-
2 files changed, 4 insertions(+), 2 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
diff --git a/lib/mqtt.h b/lib/mqtt.h
index 41f7372ce..37463d58a 100644
--- a/lib/mqtt.h
+++ b/lib/mqtt.h
@@ -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 {
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 127/264: appveyor: sort builds by type and add two new variants, (continued)
- [gnurl] 127/264: appveyor: sort builds by type and add two new variants, gnunet, 2020/04/30
- [gnurl] 134/264: RELEASE-NOTES: synced, gnunet, 2020/04/30
- [gnurl] 103/264: memdebug: don't log free(NULL), gnunet, 2020/04/30
- [gnurl] 138/264: cleanup: correct copyright year range on a few files, gnunet, 2020/04/30
- [gnurl] 131/264: TODO: Option to make -Z merge lined based outputs on stdout, gnunet, 2020/04/30
- [gnurl] 104/264: build: fixed build for systems with select() in unistd.h, gnunet, 2020/04/30
- [gnurl] 226/264: multi-ssl: reset the SSL backend on `Curl_global_cleanup()`, gnunet, 2020/04/30
- [gnurl] 227/264: tests: run the SOCKS test server on a dynamic port number, gnunet, 2020/04/30
- [gnurl] 223/264: runtests: always put test number in servercmd file, gnunet, 2020/04/30
- [gnurl] 205/264: tests: make 2006-2010 handle different port number lengths, gnunet, 2020/04/30
- [gnurl] 235/264: mqtt: make NOSTATE get within the debug name array,
gnunet <=
- [gnurl] 233/264: tests: add %NOLISTENPORT and use it, gnunet, 2020/04/30
- [gnurl] 234/264: tests: run the RTSP test server on a dynamic port number, gnunet, 2020/04/30
- [gnurl] 232/264: mqtt: remove code with no purpose, gnunet, 2020/04/30
- [gnurl] 231/264: mqtt: fix Curl_read() error handling while reading remaining length, gnunet, 2020/04/30
- [gnurl] 247/264: tests/git: ignore mqttd and port files, gnunet, 2020/04/30
- [gnurl] 248/264: docs: fix two typos, gnunet, 2020/04/30
- [gnurl] 240/264: version: skip idn2_check_version() check and add precaution, gnunet, 2020/04/30
- [gnurl] 241/264: lib/mk-ca-bundle: skip empty certs, gnunet, 2020/04/30
- [gnurl] 242/264: transfer: Switch PUT to GET/HEAD on 303 redirect, gnunet, 2020/04/30
- [gnurl] 238/264: curl.h: update comment typo, gnunet, 2020/04/30