summaryrefslogtreecommitdiff
path: root/src/pcre2_study.c
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2016-02-28 14:56:50 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2016-02-28 14:56:50 +0000
commitf6cb85bcdb508b0aaf8bc6d99b1d23afd7f3a6a9 (patch)
tree1a96a9e74181fd130cd713902de46ebe674fe8ba /src/pcre2_study.c
parentcb17dff4e21f77ede4351541324dfaca7931ec42 (diff)
downloadpcre2-f6cb85bcdb508b0aaf8bc6d99b1d23afd7f3a6a9.tar.gz
Fix typo in pcre2_study().
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@500 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_study.c')
-rw-r--r--src/pcre2_study.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcre2_study.c b/src/pcre2_study.c
index 18932ad..db08266 100644
--- a/src/pcre2_study.c
+++ b/src/pcre2_study.c
@@ -1452,7 +1452,7 @@ do
for (c = 0; c < 16; c++) re->start_bitmap[c] |= classmap[c];
for (c = 128; c < 256; c++)
{
- if ((classmap[c/8] && (1 << (c&7))) != 0)
+ if ((classmap[c/8] & (1 << (c&7))) != 0)
{
int d = (c >> 6) | 0xc0; /* Set bit for this starter */
re->start_bitmap[d/8] |= (1 << (d&7)); /* and then skip on to the */