summaryrefslogtreecommitdiff
path: root/doc/pcre2api.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pcre2api.3')
-rw-r--r--doc/pcre2api.34
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/pcre2api.3 b/doc/pcre2api.3
index 1fee114..148dca6 100644
--- a/doc/pcre2api.3
+++ b/doc/pcre2api.3
@@ -598,11 +598,11 @@ is valid" flag (that can be updated atomically) must be used:
if (!pointer_is_valid)
{
Get a write (unique) lock for pointer
- if (!pointer_is_valid)
+ if (!pointer_is_valid)
{
pointer = pcre2_compile(...
pointer_is_valid = TRUE
- }
+ }
}
Release the lock
Use pointer in pcre2_match()