fix for always enabled --mqttchanges option (fixes #241)

This commit is contained in:
john30
2018-12-30 11:58:28 +01:00
parent 212b22dd1a
commit 2f6b2bba85
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -1,3 +1,9 @@
# next version
## Bug Fixes
* fix for always enabled "--mqttchanges" option
# 3.3 (2018-12-26)
## Bug Fixes
+1 -1
View File
@@ -96,7 +96,7 @@ static bool g_logFromLib = false; //!< log library events
static int g_version = MQTT_PROTOCOL_V31; //!< protocol version to use
#endif
static bool g_ignoreInvalidParams = false; //!< ignore invalid parameters during init
static bool g_onlyChanges = true; //!< whether to only publish changed messages instead of all received
static bool g_onlyChanges = false; //!< whether to only publish changed messages instead of all received
#if (LIBMOSQUITTO_MAJOR >= 1)
static const char* g_cafile = nullptr; //!< CA file for TLS