summaryrefslogtreecommitdiff
path: root/src/lib-config
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib-config')
-rw-r--r--src/lib-config/set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib-config/set.c b/src/lib-config/set.c
index 61a101fb..3d6001e1 100644
--- a/src/lib-config/set.c
+++ b/src/lib-config/set.c
@@ -105,7 +105,7 @@ void config_node_set_str(CONFIG_REC *rec, CONFIG_NODE *parent, const char *key,
}
if (node != NULL) {
- if (strcmp(node->value, value) == 0)
+ if (g_strcmp0(node->value, value) == 0)
return;
g_free(node->value);
} else {