diff options
Diffstat (limited to 'old-tests/regex/matcher_t.c')
-rw-r--r-- | old-tests/regex/matcher_t.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/old-tests/regex/matcher_t.c b/old-tests/regex/matcher_t.c index 00deea94..6b8b24d8 100644 --- a/old-tests/regex/matcher_t.c +++ b/old-tests/regex/matcher_t.c @@ -87,7 +87,7 @@ static void _scan_input(struct matcher *m, char **regex) if ((ptr = strchr(buffer, '\n'))) *ptr = '\0'; - r = matcher_run(m, buffer, buffer + strlen(buffer)); + r = matcher_run(m, buffer); if (r >= 0) printf("%s : %s\n", buffer, regex[r]); |