From 35faf181a9845b8fba968b09e24f0f7585696aa3 Mon Sep 17 00:00:00 2001 From: Amin Ben Romdhane Date: Mon, 24 Feb 2025 13:51:09 +0100 Subject: [PATCH] Fix the Set method comparison --- libbbfdm-api/legacy/dmbbf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libbbfdm-api/legacy/dmbbf.c b/libbbfdm-api/legacy/dmbbf.c index 7708e99e..5e1c5408 100644 --- a/libbbfdm-api/legacy/dmbbf.c +++ b/libbbfdm-api/legacy/dmbbf.c @@ -1647,8 +1647,8 @@ static int mparam_set_value(DMPARAM_ARGS) if (p) *p = 0; } - if (DM_STRCMP(value, dmctx->in_value) == 0) { - BBF_DEBUG("Requested value (%s) is same as current value (%s)...", dmctx->in_value, value); + if (DM_STRCMP(value, param_value) == 0) { + BBF_DEBUG("Requested value (%s) is same as current value (%s)...", param_value, value); return 0; } }