From 94fcd470d0f9cbd877bbfe4f21ffe7eed064204d Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Wed, 17 Nov 2021 00:23:04 +0000 Subject: [PATCH] Fix incorrect subscribe_callback in mosquittopp.h. Closes #2367. Thanks to Jens Alfke. --- ChangeLog.txt | 1 + lib/cpp/mosquittopp.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 3448f9a07d..717f70c272 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -7,6 +7,7 @@ Broker: Client library: - Fix mosquitto_topic_matches_sub2() not using the length parameters. Closes #2364. +- Fix incorrect subscribe_callback in mosquittopp.h. Closes #2367. 2.0.13 - 2021-10-27 diff --git a/lib/cpp/mosquittopp.h b/lib/cpp/mosquittopp.h index be9016d62f..f47535a9e9 100644 --- a/lib/cpp/mosquittopp.h +++ b/lib/cpp/mosquittopp.h @@ -64,7 +64,6 @@ mosqpp_EXPORT int subscribe_callback( void *userdata, const char *topic, int qos=0, - bool retained=true, const char *host="localhost", int port=1883, const char *client_id=NULL,