summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/src/verify.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/src/verify.c b/src/src/verify.c
index dda51a5a2..73d2d7659 100644
--- a/src/src/verify.c
+++ b/src/src/verify.c
@@ -2948,11 +2948,13 @@ if (*t == 0 || (*t == '/' && t != ss))
/* See if there is a semicolon in the pattern */
if ((semicolon = Ustrchr(ss, ';')))
- endname = (opts = Ustrchr(ss, ',')) ? opts : semicolon;
-if (opts)
{
- opts++;
- opts = string_copyn(opts, semicolon - opts);
+ endname = (opts = Ustrchr(ss, ',')) ? opts : semicolon;
+ if (opts)
+ {
+ opts++;
+ opts = string_copyn(opts, semicolon - opts);
+ }
}
/* If we are doing an IP address only match, then all lookups must be IP