From 5eb40ee3d691fb3c2dc222685e7ffcf6e6a69a79 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Wed, 2 Oct 2024 11:08:06 +0100 Subject: [PATCH] Fix build WITH_ADNS=yes --- src/bridge.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bridge.c b/src/bridge.c index 5b82ffcb8..f6daf240d 100644 --- a/src/bridge.c +++ b/src/bridge.c @@ -197,8 +197,7 @@ int bridge__connect_step1(struct mosquitto *context) context->bridge->topics[i].local_topic, qos, 0, - MQTT_SUB_OPT_NO_LOCAL | MQTT_SUB_OPT_RETAIN_AS_PUBLISHED, - &db.subs) > 0){ + MQTT_SUB_OPT_NO_LOCAL | MQTT_SUB_OPT_RETAIN_AS_PUBLISHED) > 0){ return 1; } retain__queue(context,