diff --git a/ChangeLog.txt b/ChangeLog.txt index 3448f9a0..717f70c2 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 be9016d6..f47535a9 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,