Skip to content

Commit

Permalink
Fix incorrect subscribe_callback in mosquittopp.h.
Browse files Browse the repository at this point in the history
Closes #2367. Thanks to Jens Alfke.
  • Loading branch information
ralight committed Nov 17, 2021
1 parent 9c4f17a commit 94fcd47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog.txt
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion lib/cpp/mosquittopp.h
Expand Up @@ -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,
Expand Down

0 comments on commit 94fcd47

Please sign in to comment.