Skip to content

Commit

Permalink
Fix duplicate cfg definition in rr_client.
Browse files Browse the repository at this point in the history
Closes #1453. Thanks to jveber.
  • Loading branch information
ralight committed Oct 9, 2019
1 parent cfacd96 commit 8a4ae28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Expand Up @@ -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
================
Expand Down
3 changes: 2 additions & 1 deletion client/rr_client.c
Expand Up @@ -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;
Expand Down

0 comments on commit 8a4ae28

Please sign in to comment.