nss-pam-ldapd commit: r1748 - nss-pam-ldapd/nss
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1748 - nss-pam-ldapd/nss
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1748 - nss-pam-ldapd/nss
- Date: Mon, 3 Sep 2012 23:07:56 +0200 (CEST)
Author: arthur
Date: Mon Sep 3 23:07:56 2012
New Revision: 1748
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1748&view=revision
Log:
fix indenting of code
Modified:
nss-pam-ldapd/nss/common.h
nss-pam-ldapd/nss/passwd.c
Modified: nss-pam-ldapd/nss/common.h
==============================================================================
--- nss-pam-ldapd/nss/common.h Mon Sep 3 23:04:35 2012 (r1747)
+++ nss-pam-ldapd/nss/common.h Mon Sep 3 23:07:56 2012 (r1748)
@@ -100,8 +100,8 @@
#define NSS_BUFCHECK \
if ((NSS_ARGS(args)->buf.buffer==NULL)||(NSS_ARGS(args)->buf.buflen<=0)) \
{ \
- NSS_ARGS(args)->erange=1; \
- return NSS_STATUS_TRYAGAIN; \
+ NSS_ARGS(args)->erange=1; \
+ return NSS_STATUS_TRYAGAIN; \
}
/* this is the backend structure for Solaris */
Modified: nss-pam-ldapd/nss/passwd.c
==============================================================================
--- nss-pam-ldapd/nss/passwd.c Mon Sep 3 23:04:35 2012 (r1747)
+++ nss-pam-ldapd/nss/passwd.c Mon Sep 3 23:07:56 2012 (r1748)
@@ -114,7 +114,7 @@
buffer=(char *)malloc(buflen);
/* build the formatted string */
/* FIXME: implement proper buffer size checking */
- sprintf(buffer,"%s:%s:%d:%d:%s:%s:%s",
+ sprintf(buffer,"%s:%s:%d:%d:%s:%s:%s",
result.pw_name,result.pw_passwd,(int)result.pw_uid,(int)result.pw_gid,result.pw_gecos,
result.pw_dir,result.pw_shell);
/* copy the result back to the result buffer and free the temporary one */
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r1748 - nss-pam-ldapd/nss,
Commits of the nss-pam-ldapd project