From: Dagobert Michelsen Date: Wed, 4 Mar 2020 09:20:04 +0000 (+0100) Subject: Fix coding style X-Git-Tag: collectd-5.12.0~59^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05100c4734a61f79aa068ea50bf93a84480573b6;p=thirdparty%2Fcollectd.git Fix coding style --- diff --git a/src/utils/ignorelist/ignorelist.c b/src/utils/ignorelist/ignorelist.c index f0298e8dc..173120f52 100644 --- a/src/utils/ignorelist/ignorelist.c +++ b/src/utils/ignorelist/ignorelist.c @@ -285,10 +285,10 @@ int ignorelist_add(ignorelist_t *il, const char *entry) { int ignorelist_remove(ignorelist_t *il, const char *entry) { /* if no entries, nothing to remove */ if ((il == NULL) || (il->head == NULL)) - return (1); + return 1; if ((entry == NULL) || (strlen(entry) == 0)) - return (1); + return 1; /* traverse list and check entries */ for (ignorelist_item_t *prev = NULL, *traverse = il->head; traverse != NULL; @@ -302,11 +302,11 @@ int ignorelist_remove(ignorelist_t *il, const char *entry) { sfree(traverse->smatch); traverse->smatch = NULL; sfree(traverse); - return (0); + return 0; } } /* for traverse */ - return (1); + return 1; } /* int ignorelist_remove (ignorelist_t *il, const char *entry) */ /*