summaryrefslogtreecommitdiff
path: root/plugin/suffix.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/suffix.c')
-rw-r--r--plugin/suffix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/suffix.c b/plugin/suffix.c
index 3500624..453e87d 100644
--- a/plugin/suffix.c
+++ b/plugin/suffix.c
@@ -183,7 +183,7 @@ check_suffix_constraints (Slapi_PBlock *pb, struct berval **suffixes, struct ber
for (value = *values; value; value = *(++values)) {
found = 0;
- for (suffix = suffixes; suffix; ++suffix) {
+ for (suffix = suffixes; *suffix; ++suffix) {
if (has_suffix (value, *suffix, &suffix_delimiter)) {
found = 1;
break;