summaryrefslogtreecommitdiff
path: root/pcreposix.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2008-04-28 15:10:02 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2008-04-28 15:10:02 +0000
commit5866158e01cc19c2a8fff7fffa61de5376a938d0 (patch)
tree7759638de83997a18a99299a741082b8e5b32477 /pcreposix.c
parentccea1b4ed51d39d72efa77127d0ebbc10c1ea7fe (diff)
downloadpcre-5866158e01cc19c2a8fff7fffa61de5376a938d0.tar.gz
Tidies for the 7.7-RC1 distribution.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@345 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcreposix.c')
-rw-r--r--pcreposix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pcreposix.c b/pcreposix.c
index b09bba9..9782d46 100644
--- a/pcreposix.c
+++ b/pcreposix.c
@@ -299,15 +299,15 @@ else if (nmatch > 0)
/* REG_STARTEND is a BSD extension, to allow for non-NUL-terminated strings.
The man page from OS X says "REG_STARTEND affects only the location of the
-string, not how it is matched". That is why the "so" value is used to bump the
+string, not how it is matched". That is why the "so" value is used to bump the
start location rather than being passed as a PCRE "starting offset". */
-if ((eflags & REG_STARTEND) != 0)
+if ((eflags & REG_STARTEND) != 0)
{
so = pmatch[0].rm_so;
eo = pmatch[0].rm_eo;
- }
-else
+ }
+else
{
so = 0;
eo = strlen(string);