From 4cef36044caea537bb4671bcef6a4d2c0a85ab62 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Fri, 5 Oct 2001 17:08:09 +0000 Subject: [PATCH] style --- bin/win32/BINDInstall/AccountInfo.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bin/win32/BINDInstall/AccountInfo.cpp b/bin/win32/BINDInstall/AccountInfo.cpp index 8c0991b29d..e5e0c432c8 100644 --- a/bin/win32/BINDInstall/AccountInfo.cpp +++ b/bin/win32/BINDInstall/AccountInfo.cpp @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: AccountInfo.cpp,v 1.3 2001/10/05 05:45:48 mayer Exp $ */ +/* $Id: AccountInfo.cpp,v 1.4 2001/10/05 17:08:09 gson Exp $ */ #ifndef UNICODE #define UNICODE @@ -116,7 +116,7 @@ GetAccountPrivileges(char *name, wchar_t **PrivList, unsigned int *PrivCount, unsigned int i; NTSTATUS Status; isc_result_t istatus; - int iRetVal=RTN_ERROR; /* assume error from main */ + int iRetVal = RTN_ERROR; /* assume error from main */ /* * Open the policy on the target machine. @@ -137,12 +137,10 @@ GetAccountPrivileges(char *name, wchar_t **PrivList, unsigned int *PrivCount, */ istatus = isc_ntsecurity_getaccountgroups(name, Accounts, maxAccounts, totalAccounts); - if (istatus == ISC_R_NOMEMORY) { + if (istatus == ISC_R_NOMEMORY) return (RTN_NOMEMORY); - } - else if (istatus != ISC_R_SUCCESS) { + else if (istatus != ISC_R_SUCCESS) return (RTN_ERROR); - } Accounts[*totalAccounts] = name; /* Add the account to the list */ (*totalAccounts)++;