summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2010-02-14 23:17:46 +0000
committerStef Walter <stef@memberwebs.com>2010-02-14 23:17:46 +0000
commit1ea379f9585bed1ed6ba5e58617fc4a99a093aee (patch)
treeaaf8fadb950edc3762a5cf5eac2879e21758c27c
parentabaf9edcb9e7d88aac567c2d978e2f698c05b11b (diff)
An old outstanding commit, I forgot to commit earlier.
-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;