summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/common.c2
-rw-r--r--server/group.c2
-rw-r--r--server/passwd.c3
3 files changed, 3 insertions, 4 deletions
diff --git a/server/common.c b/server/common.c
index 34b67d5..4f9c597 100644
--- a/server/common.c
+++ b/server/common.c
@@ -20,7 +20,7 @@
MA 02110-1301 USA
*/
-#include "nslcd.h"
+#include "nslcd.h"
#include "common.h"
/* translates a nslcd return code (as defined in nslcd.h) to
diff --git a/server/group.c b/server/group.c
index 7eaf4a4..016df82 100644
--- a/server/group.c
+++ b/server/group.c
@@ -749,7 +749,7 @@ do_parse_initgroups_nested (LDAPMessage * e,
groupdn = _nss_ldap_get_dn (e);
if (groupdn != NULL)
{
- /* Note: there was a problem here with stat in the orriginal code */
+ /* Note: there was a problem here with stat in the orriginal code */
lia->depth++;
status = ng_chase (groupdn, lia);
lia->depth--;
diff --git a/server/passwd.c b/server/passwd.c
index 94c36db..83f97b9 100644
--- a/server/passwd.c
+++ b/server/passwd.c
@@ -304,9 +304,8 @@ int nslcd_getpwall(FILE *fp)
/* write the password entry */
LDF_PASSWD;
fflush(fp);
- /* STRUCT PASSWD */
}
- /* write the result code */
+ /* write the final result code */
WRITE_INT32(fp,retv);
/* FIXME: if a previous call returns what happens to the context? */
_nss_ldap_endpwent();