summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat/ldap.h6
-rw-r--r--nslcd/cfg.c4
-rw-r--r--nslcd/cfg.h2
-rw-r--r--nslcd/myldap.c1
4 files changed, 6 insertions, 7 deletions
diff --git a/compat/ldap.h b/compat/ldap.h
index 4b89b5e..f0125c4 100644
--- a/compat/ldap.h
+++ b/compat/ldap.h
@@ -36,10 +36,10 @@
#endif
#if defined(LDAP_API_FEATURE_X_OPENLDAP) && (LDAP_API_VERSION > 2000)
-extern int ldap_ld_free (LDAP * ld, int close, LDAPControl **,
- LDAPControl **);
+extern int ldap_ld_free(LDAP * ld, int close, LDAPControl **,
+ LDAPControl **);
#else
-extern int ldap_ld_free (LDAP * ld, int close);
+extern int ldap_ld_free(LDAP * ld, int close);
#endif /* OPENLDAP 2.x */
#endif /* not _COMPAT_LDAP_H */
diff --git a/nslcd/cfg.c b/nslcd/cfg.c
index 29b9a0a..76c14c3 100644
--- a/nslcd/cfg.c
+++ b/nslcd/cfg.c
@@ -1,6 +1,6 @@
/*
cfg.c - functions for configuration information
- This file contains parts that were part of the nss-ldap
+ This file contains parts that were part of the nss_ldap
library which has been forked into the nss-ldapd library.
Copyright (C) 1997-2005 Luke Howard
@@ -536,7 +536,7 @@ static void cfg_read(const char *filename,struct ldap_config *cfg)
int nopts;
/* open config file */
- if ((fp=fopen (filename, "r"))==NULL)
+ if ((fp=fopen(filename,"r"))==NULL)
{
log_log(LOG_ERR,"cannot open config file (%s): %s",filename,strerror(errno));
exit(EXIT_FAILURE);
diff --git a/nslcd/cfg.h b/nslcd/cfg.h
index 8c1dc4b..57505e5 100644
--- a/nslcd/cfg.h
+++ b/nslcd/cfg.h
@@ -1,6 +1,6 @@
/*
cfg.h - definition of configuration information
- This file contains parts that were part of the nss-ldap
+ This file contains parts that were part of the nss_ldap
library which has been forked into the nss-ldapd library.
Copyright (C) 1997-2005 Luke Howard
diff --git a/nslcd/myldap.c b/nslcd/myldap.c
index 879514e..56bd56d 100644
--- a/nslcd/myldap.c
+++ b/nslcd/myldap.c
@@ -1,6 +1,5 @@
/*
myldap.c - simple interface to do LDAP requests
-
Parts of this file were part of the nss_ldap library (as ldap-nss.c)
which has been forked into the nss-ldapd library.