diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2006-11-01 12:19:45 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2006-11-01 12:19:45 +0000 |
commit | 809c726d6852c7b901d8525cbb6e422e45d35bf4 (patch) | |
tree | ead16b248496b897105f1ff071bcfa88f5bfe09e | |
parent | 1b934f066ab20135c9535bbf7cb6dd021d47022f (diff) |
get rid of some trailing spaces
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@48 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | nslcd-server.c | 6 | ||||
-rw-r--r-- | nslcd.h | 4 | ||||
-rw-r--r-- | server/common.c | 2 | ||||
-rw-r--r-- | server/group.c | 2 | ||||
-rw-r--r-- | server/passwd.c | 3 |
5 files changed, 8 insertions, 9 deletions
diff --git a/nslcd-server.c b/nslcd-server.c index c4c1a3a..25190e2 100644 --- a/nslcd-server.c +++ b/nslcd-server.c @@ -52,7 +52,7 @@ int nslcd_server_open(void) /* create socket address structure */ addr.sun_family=AF_UNIX; strcpy(addr.sun_path,NSLCD_SOCKET); - + /* unlink to socket */ if (unlink(NSLCD_SOCKET)<0) { @@ -122,7 +122,7 @@ int nslcd_server_open(void) fclose(fp); \ log_log(LOG_DEBUG,"error reading from stream: %s",strerror(errno)); \ return; - + /* read a request message, returns <0 in case of errors, this function closes the socket */ void nslcd_server_handlerequest(int sock) @@ -157,6 +157,6 @@ void nslcd_server_handlerequest(int sock) break; } /* we're done with the request */ - fclose(fp); + fclose(fp); return; } @@ -1,5 +1,5 @@ /* - nslcd.h - file describing client/server protocol + nslcd.h - file describing client/server protocol Copyright (C) 2006 West Consulting Copyright (C) 2006 Arthur de Jong @@ -54,7 +54,7 @@ Compound datatypes (such as PASSWD) are defined below as a combination of the above types. They are defined as macros so they can be expanded to code later on. - + The protocol is described in this generic fashion (instead of just transferring the allocated memory) because pointers will not be valid between transfers and this also makes the server 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(); |