From 8a4ae28fa926589e9891674ca4424dc703ad2d88 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Wed, 9 Oct 2019 14:01:44 +0100 Subject: [PATCH] Fix duplicate cfg definition in rr_client. Closes #1453. Thanks to jveber. --- ChangeLog.txt | 3 +++ client/rr_client.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index e62246a1..7bbfc626 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -12,6 +12,9 @@ Client library: - Fix publish properties not being passed to on_message_v5 callback for QoS 2 messages. Closes #1432. +Clients: +- Fix duplicate cfg definition in rr_client. Closes #1453. + 1.6.7 - 20190925 ================ diff --git a/client/rr_client.c b/client/rr_client.c index 44f105b0..9d5e9d1e 100644 --- a/client/rr_client.c +++ b/client/rr_client.c @@ -47,7 +47,8 @@ enum rr__state { static enum rr__state client_state = rr_s_new; -struct mosq_config cfg; +extern struct mosq_config cfg; + bool process_messages = true; int msg_count = 0; struct mosquitto *mosq = NULL;