lists.arthurdejong.org
RSS feed

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



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/