From 1ea379f9585bed1ed6ba5e58617fc4a99a093aee Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 14 Feb 2010 23:17:46 +0000 Subject: An old outstanding commit, I forgot to commit earlier. --- configure.in | 2 +- plugin/suffix.c | 2 +- 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; -- cgit v1.2.3