diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-12-09 15:50:41 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-12-09 15:50:41 +0000 |
commit | 48aaffafb20f79f2f90fc342c4a63144074ffc43 (patch) | |
tree | 5d79fd79f7ff34cc62f5fb3f952f3affacd6081b | |
parent | 2523efe5a87dbe81d45196ab2d758ff9ceb89a49 (diff) |
some small layout changes
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@491 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | compat/ldap.h | 6 | ||||
-rw-r--r-- | nslcd/cfg.c | 4 | ||||
-rw-r--r-- | nslcd/cfg.h | 2 | ||||
-rw-r--r-- | nslcd/myldap.c | 1 |
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. |