summaryrefslogtreecommitdiff
path: root/libuxre/regcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libuxre/regcomp.c')
-rw-r--r--libuxre/regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libuxre/regcomp.c b/libuxre/regcomp.c
index 20a197d..4f6eb8c 100644
--- a/libuxre/regcomp.c
+++ b/libuxre/regcomp.c
@@ -52,7 +52,7 @@ regcomp(regex_t *ep, const char *pat, int flags)
* doesn't, libuxre_regnfacomp() must be called first, if both are to
* be called.
*/
- if (ep->re_nsub != 0 && (flags & (REG_NOSUB | REG_ONESUB)) == 0
+ if ((ep->re_nsub != 0 && (flags & (REG_NOSUB | REG_ONESUB)) == 0)
|| lex.flags & REG_NFA)
{
ep->re_flags |= REG_NFA;