diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2006-11-02 15:17:16 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2006-11-02 15:17:16 +0100 |
commit | 3482fd7fc088e71d700f34f74544e1526aaaf41b (patch) | |
tree | 21b026d39979826893d6cd806c589048ea02bfb7 | |
parent | eee4fc27f887ed7c66e0b85e5b8b592eb28e134d (diff) |
some small fixes
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@57 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | server/aliases.c | 6 | ||||
-rw-r--r-- | server/passwd.c | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/server/aliases.c b/server/aliases.c index 466c6f4..361647e 100644 --- a/server/aliases.c +++ b/server/aliases.c @@ -23,8 +23,6 @@ #include "config.h" -#ifdef HAVE_ALIASES_H - #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -132,7 +130,6 @@ int nslcd_alias_byname(FILE *fp) int retv; /* read request parameters */ READ_STRING_ALLOC(fp,name); - /* FIXME: free() this buffer somewhere */ /* log call */ log_log(LOG_DEBUG,"nslcd_alias_byname(%s)",name); /* do the LDAP request */ @@ -151,7 +148,4 @@ int nslcd_alias_byname(FILE *fp) log_log(LOG_DEBUG,"nslcd_alias_byname DONE"); /* we're done */ return 0; - } - -#endif /* HAVE_ALIASES_H */ diff --git a/server/passwd.c b/server/passwd.c index 25f8f3d..9c9e6d2 100644 --- a/server/passwd.c +++ b/server/passwd.c @@ -40,6 +40,7 @@ #elif defined(HAVE_PTHREAD_H) #include <pthread.h> #endif +#include <stdio.h> #include "ldap-nss.h" #include "util.h" |