diff options
Diffstat (limited to 'src/lib-config')
-rw-r--r-- | src/lib-config/set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib-config/set.c b/src/lib-config/set.c index 5c187035..7ca55871 100644 --- a/src/lib-config/set.c +++ b/src/lib-config/set.c @@ -111,7 +111,7 @@ void config_node_set_str(CONFIG_REC *rec, CONFIG_NODE *parent, const char *key, node = NULL; } if (node != NULL) { - if (strcmp(node->value, value) == 0) + if (g_strcmp0(node->value, value) == 0) return; g_free(node->value); } else { |