From 8ebec9584caeb3d33c361da63e86fede0220ed9f Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Mon, 16 Dec 2024 19:33:41 -0500 Subject: [PATCH] Fix incorrect comparison code. --- src/var.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/var.c b/src/var.c index 22e1ebe5..a7a8a407 100644 --- a/src/var.c +++ b/src/var.c @@ -1005,7 +1005,7 @@ static int SetSysVarHelper(SysVar *v, Value *value) if (v->type == STR_TYPE) { /* If it's already the same, don't bother doing anything */ - if (!strcmp(value->v.str, (char const *) v->value)) { + if (!strcmp(value->v.str, * (char const **) v->value)) { DestroyValue(*value); return OK; }