about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-06-13 13:19:57 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-06-13 13:19:57 +0000
commit13a02f2ccc602e8d038a0808b052f2bffc3f5408 (patch)
tree78be9d5c2b138f9c894dd034df68421319c6b22f /src
parent00807099924dc239a35685ee3e13c73723446f1a (diff)
downloads6-portable-utils-13a02f2ccc602e8d038a0808b052f2bffc3f5408.tar.gz
s6-portable-utils-13a02f2ccc602e8d038a0808b052f2bffc3f5408.tar.xz
s6-portable-utils-13a02f2ccc602e8d038a0808b052f2bffc3f5408.zip
bugfix: s6-unquote-filter (thanks W. Lund), prepare for 2.2.2.5
Diffstat (limited to 'src')
-rw-r--r--src/skaembutils/s6-unquote-filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skaembutils/s6-unquote-filter.c b/src/skaembutils/s6-unquote-filter.c
index edf2682..47a085c 100644
--- a/src/skaembutils/s6-unquote-filter.c
+++ b/src/skaembutils/s6-unquote-filter.c
@@ -46,7 +46,7 @@ static int doit (char const *s, size_t len)
       }
       return 1 ;
     }
-    if (!memchr(delim, delimlen, *s))
+    if (!memchr(delim, *s, delimlen))
     {
       switch (strictness)
       {