Revert "lttng-ctl: Hide symbol introduced by fix"
[lttng-tools.git] / src / common / ini-config / ini-config.cpp
index 11f4e5193e8cb6e8681fd6dd0f1253d8b811a81f..2389627063abefe88dfc4ce6b1e0248086966b31 100644 (file)
@@ -36,7 +36,7 @@ static int config_entry_handler_filter(struct handler_filter_args *args,
                                       const char *value)
 {
        int ret = 0;
-       struct config_entry entry = { section, name, value };
+       const config_entry entry = { section, name, value };
 
        LTTNG_ASSERT(args);
 
@@ -46,7 +46,7 @@ static int config_entry_handler_filter(struct handler_filter_args *args,
        }
 
        if (args->section) {
-               if (strcmp(args->section, section)) {
+               if (strcmp(args->section, section) != 0) {
                        goto end;
                }
        }
This page took 0.026722 seconds and 4 git commands to generate.