commit c742105bf1e76f07544ee3d56300eff2b31934ca
parent 7a742c5ddc352f61634482168cef301dab05530d
Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 24 Jul 2012 11:58:58 +0200
Minor style fix.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/llist.c b/llist.c
@@ -320,9 +320,10 @@ llist_internfind(llist_t *llist, char *regex, int mode)
continue;
}
- if (!regexec(&preg, elem->key, 0, NULL, 0))
+ if (!regexec(&preg, elem->key, 0, NULL, 0)) {
llist_add(results, elem->key, elem->data,
elem->datalen);
+ }
}
regfree(&preg);