Skip to content

Commit

Permalink
Add missing mosquitto_userdata function. Closes #1191.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Mar 7, 2019
1 parent 988554e commit 8d513af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,3 +304,7 @@ void mosquitto_user_data_set(struct mosquitto *mosq, void *userdata)
}
}

void *mosquitto_userdata(struct mosquitto *mosq)
{
return mosq->userdata;
}

0 comments on commit 8d513af

Please sign in to comment.