From 2d03fdc8391908d5e5d8ec01d20b758b5847aa50 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 9 Feb 2021 18:50:48 +0100 Subject: [PATCH] fix --- sink/receiver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sink/receiver.c b/sink/receiver.c index d0b1615..e0fa950 100644 --- a/sink/receiver.c +++ b/sink/receiver.c @@ -39,7 +39,7 @@ int receiver(config_t *cfg) { continue; } - config_setting_t *deviceConfig = config_lookup(devicesConfig, buf.s.deviceId); + config_setting_t *deviceConfig = config_setting_get_member(devicesConfig, buf.s.deviceId); if (deviceConfig == NULL) { logmsg(LOG_INFO, "Unknown device: %s", buf.s.deviceId); continue;