summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in2
-rw-r--r--plugin/suffix.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 77eb121..34d5fa7 100644
--- a/configure.in
+++ b/configure.in
@@ -37,7 +37,7 @@ dnl
dnl Process this file with autoconf to produce a configure script.
AC_INIT(slapi-suffix, 0.1, stef@memberwebs.com)
-AM_INIT_AUTOMAKE(slapi-suffix, 0.2)
+AM_INIT_AUTOMAKE(slapi-suffix, 0.1)
LDFLAGS="$LDFLAGS -L/usr/local/lib"
CFLAGS="$CFLAGS -I/usr/local/include"
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;