diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-02-13 15:54:05 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-02-13 15:54:05 +0000 |
commit | caaa251a49013a0d9a2552a62bd0f47fcabfabbe (patch) | |
tree | 8c59261e33edf2650f8e0bd7ffc9ac510a14c5f1 /main/openldap/openldap-mqtt-overlay.patch | |
parent | 75cc781209536288b4522d523e2575c184312869 (diff) | |
download | aports-caaa251a49013a0d9a2552a62bd0f47fcabfabbe.tar.bz2 aports-caaa251a49013a0d9a2552a62bd0f47fcabfabbe.tar.xz |
main/openldap: overlay MQTT retain published message
Diffstat (limited to 'main/openldap/openldap-mqtt-overlay.patch')
-rw-r--r-- | main/openldap/openldap-mqtt-overlay.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/openldap/openldap-mqtt-overlay.patch b/main/openldap/openldap-mqtt-overlay.patch index 47f31256f2..795480f1e4 100644 --- a/main/openldap/openldap-mqtt-overlay.patch +++ b/main/openldap/openldap-mqtt-overlay.patch @@ -281,7 +281,7 @@ index 0000000..b3a0a31 +static void mqtt_send_notify(mqtt_t *mqtt, mqtt_notify_t *n) +{ + Debug(LDAP_DEBUG_TRACE, "mqtt_send_notify: pub on topic '%s'\n", n->topic, 0, 0); -+ n->notify_pending = mosquitto_publish(mqtt->mq, NULL, n->topic, 0, NULL, 1, false) == MOSQ_ERR_NO_CONN; ++ n->notify_pending = mosquitto_publish(mqtt->mq, NULL, n->topic, 0, NULL, 1, true) == MOSQ_ERR_NO_CONN; +} + +static void mqtt_on_connect(struct mosquitto *mq, void *obj, int rc) |