diff options
Diffstat (limited to 'pcreposix.c')
-rw-r--r-- | pcreposix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcreposix.c b/pcreposix.c index 55b6ddc..cf75588 100644 --- a/pcreposix.c +++ b/pcreposix.c @@ -365,7 +365,7 @@ start location rather than being passed as a PCRE "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; } |