summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_rci_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6dns/s6dns_rci_init.c')
-rw-r--r--src/libs6dns/s6dns_rci_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6dns/s6dns_rci_init.c b/src/libs6dns/s6dns_rci_init.c
index 4c51679..446e211 100644
--- a/src/libs6dns/s6dns_rci_init.c
+++ b/src/libs6dns/s6dns_rci_init.c
@@ -82,7 +82,7 @@ static inline int stringrules (stralloc *rules, char const *s, unsigned int *num
while (c)
{
c = *s++ ;
- if (memchr(" \t\n\r", 5, c))
+ if (memchr(" \t\n\r", c, 5))
{
if (!crunching)
{