Fix incorrect subscribe_callback in mosquittopp.h.

Closes #2367. Thanks to Jens Alfke.
This commit is contained in:
Roger A. Light 2021-11-17 00:23:04 +00:00
parent 9c4f17aa61
commit 94fcd470d0
2 changed files with 1 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Broker:
Client library: Client library:
- Fix mosquitto_topic_matches_sub2() not using the length parameters. - Fix mosquitto_topic_matches_sub2() not using the length parameters.
Closes #2364. Closes #2364.
- Fix incorrect subscribe_callback in mosquittopp.h. Closes #2367.
2.0.13 - 2021-10-27 2.0.13 - 2021-10-27

View File

@ -64,7 +64,6 @@ mosqpp_EXPORT int subscribe_callback(
void *userdata, void *userdata,
const char *topic, const char *topic,
int qos=0, int qos=0,
bool retained=true,
const char *host="localhost", const char *host="localhost",
int port=1883, int port=1883,
const char *client_id=NULL, const char *client_id=NULL,