diff options
-rw-r--r-- | main/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/config.c b/main/config.c index 30817be41..a3d82f4f8 100644 --- a/main/config.c +++ b/main/config.c @@ -1168,7 +1168,7 @@ int ast_category_empty(struct ast_config *cfg, const char *category) struct ast_category *cat; for (cat = cfg->root; cat; cat = cat->next) { - if (!strcasecmp(cat->name, category)) + if (strcasecmp(cat->name, category)) continue; ast_variables_destroy(cat->root); cat->root = NULL; |