diff options
Diffstat (limited to 'src/pcre2posix.c')
-rw-r--r-- | src/pcre2posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcre2posix.c b/src/pcre2posix.c index cd6e664..02a5b1f 100644 --- a/src/pcre2posix.c +++ b/src/pcre2posix.c @@ -285,7 +285,7 @@ start location rather than being passed as a PCRE2 "starting offset". */ if ((eflags & REG_STARTEND) != 0) { - if (pmatch == NULL) return REG_INVARG; + if (pmatch == NULL) return REG_INVARG; so = pmatch[0].rm_so; eo = pmatch[0].rm_eo; } |