summaryrefslogtreecommitdiffstats
path: root/source3/lib/pam_errors.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-22 18:41:39 +0200
committerVolker Lendecke <vl@samba.org>2010-08-22 22:42:21 +0200
commit6ff012a777889de5066fa77de9ed766f8421b1d5 (patch)
treef41d374572883c47ca73d8e8206ea81f5b0dc80d /source3/lib/pam_errors.c
parent8bc58990a469b15a0ffc9977a5b9c2345eea9fe5 (diff)
downloadsamba-6ff012a777889de5066fa77de9ed766f8421b1d5.tar.gz
samba-6ff012a777889de5066fa77de9ed766f8421b1d5.tar.xz
samba-6ff012a777889de5066fa77de9ed766f8421b1d5.zip
s3: Fix some nonemtpy blank lines
Diffstat (limited to 'source3/lib/pam_errors.c')
-rw-r--r--source3/lib/pam_errors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/pam_errors.c b/source3/lib/pam_errors.c
index 1073f269e56..e55d7a0415f 100644
--- a/source3/lib/pam_errors.c
+++ b/source3/lib/pam_errors.c
@@ -92,7 +92,7 @@ NTSTATUS pam_to_nt_status(int pam_error)
{
int i;
if (pam_error == 0) return NT_STATUS_OK;
-
+
for (i=0; NT_STATUS_V(pam_to_nt_status_map[i].ntstatus); i++) {
if (pam_error == pam_to_nt_status_map[i].pam_code)
return pam_to_nt_status_map[i].ntstatus;
@@ -107,7 +107,7 @@ int nt_status_to_pam(NTSTATUS nt_status)
{
int i;
if NT_STATUS_IS_OK(nt_status) return PAM_SUCCESS;
-
+
for (i=0; NT_STATUS_V(nt_status_to_pam_map[i].ntstatus); i++) {
if (NT_STATUS_EQUAL(nt_status,nt_status_to_pam_map[i].ntstatus))
return nt_status_to_pam_map[i].pam_code;