diff options
author | Stef Walter <stef@thewalter.net> | 2008-06-03 00:59:44 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2008-06-03 00:59:44 +0000 |
commit | f0a88cc951fd2f2cc452c27b2ea0a13ea85172c9 (patch) | |
tree | a0ff5cbbf5c9d1d38471bd2425671123f6eebacf /plugin | |
parent | dc3a0051da04f460d32379d48da7d6f33372a7a9 (diff) |
FreeBSD build fixes, and fix error message
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/Makefile.am | 4 | ||||
-rw-r--r-- | plugin/Makefile.in | 4 | ||||
-rw-r--r-- | plugin/delegateldap.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/plugin/Makefile.am b/plugin/Makefile.am index 900e5a2..e2901b6 100644 --- a/plugin/Makefile.am +++ b/plugin/Makefile.am @@ -8,9 +8,9 @@ libdelegateldap_la_LDFLAGS = -module -avoid-version libdelegateldap_la_SOURCES = delegateldap.c delegateldap.sasl: delegateldap.sasl.in Makefile - @sed -e "s|\@LIBDIR\@|$(libdir)|" $< > $@ + @sed -e "s|\@LIBDIR\@|$(libdir)|" $(srcdir)/delegateldap.sasl.in > delegateldap.sasl delegateldap.README: delegateldap.README.in Makefile - @sed -e "s|\@LIBDIR\@|$(libdir)|" $< > $@ + @sed -e "s|\@LIBDIR\@|$(libdir)|" $(srcdir)/delegateldap.README.in > delegateldap.README sasldir = $(libdir)/sasl2/ sasl_DATA = \ diff --git a/plugin/Makefile.in b/plugin/Makefile.in index c6f0c05..467a86d 100644 --- a/plugin/Makefile.in +++ b/plugin/Makefile.in @@ -500,9 +500,9 @@ uninstall-am: uninstall-moduleLTLIBRARIES uninstall-saslDATA delegateldap.sasl: delegateldap.sasl.in Makefile - @sed -e "s|\@LIBDIR\@|$(libdir)|" $< > $@ + @sed -e "s|\@LIBDIR\@|$(libdir)|" $(srcdir)/delegateldap.sasl.in > delegateldap.sasl delegateldap.README: delegateldap.README.in Makefile - @sed -e "s|\@LIBDIR\@|$(libdir)|" $< > $@ + @sed -e "s|\@LIBDIR\@|$(libdir)|" $(srcdir)/delegateldap.README.in > delegateldap.README # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/plugin/delegateldap.c b/plugin/delegateldap.c index 170c6a7..7a5c08e 100644 --- a/plugin/delegateldap.c +++ b/plugin/delegateldap.c @@ -74,7 +74,7 @@ report_ldap_error (const sasl_utils_t *utils, int ldap, const char *format, ...) } (utils->seterror) (utils->conn, 0, "%s%s%s", - buf, buf[0] ? ":" : "", ldap_err2string (ldap)); + buf, buf[0] ? ": " : "", ldap_err2string (ldap)); fprintf (stderr, "%s%s%s", buf, buf[0] ? ": " : "", ldap_err2string (ldap)); fputc ('\n', stderr); |