mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-05-06 07:37:58 +02:00
Fix incorrect comparison code.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user