From 574a65c28e6d016b8871deee12792c33be67c9bb Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 15 Sep 2009 02:22:04 +0200 Subject: filter: un-linebreak after un-indent... Michael --- src/filter.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/filter.c b/src/filter.c index 3a955ce..9f88430 100644 --- a/src/filter.c +++ b/src/filter.c @@ -86,8 +86,7 @@ void filter_init (void) * an escape, it's not a comment * string. */ - if (s == buf - || *(s - 1) != '\\') + if (s == buf || *(s - 1) != '\\') break; } ++s; @@ -106,21 +105,16 @@ void filter_init (void) if (!p) /* head of list */ fl = p = (struct filter_list *) - safecalloc (1, - sizeof (struct - filter_list)); + safecalloc (1, sizeof (struct filter_list)); else { /* next entry */ p->next = (struct filter_list *) - safecalloc (1, - sizeof (struct - filter_list)); + safecalloc (1, sizeof (struct filter_list)); p = p->next; } p->pat = safestrdup (s); - p->cpat = - (regex_t *) safemalloc (sizeof (regex_t)); + p->cpat = (regex_t *) safemalloc (sizeof (regex_t)); err = regcomp (p->cpat, p->pat, cflags); if (err != 0) { fprintf (stderr, -- cgit v1.2.3