diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-12 13:32:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-12 13:32:44 +0000 |
commit | 9d687b0719a1ad72f2e0cacc566e0b550d4cede9 (patch) | |
tree | cb053c4d49c8b751b65779cf6a4c9eec85bc66c0 /src/libs6dns/s6dns_rci_init.c | |
parent | 22cf41f697ff6de1eb4d6c5f66e5de70e86c9f74 (diff) | |
download | s6-dns-9d687b0719a1ad72f2e0cacc566e0b550d4cede9.tar.xz |
Fix a few omissions (and a memchr() argument order bug!)
Diffstat (limited to 'src/libs6dns/s6dns_rci_init.c')
-rw-r--r-- | src/libs6dns/s6dns_rci_init.c | 2 |
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) { |