From: Stefan Metzmacher Date: Fri, 7 Feb 2020 12:06:46 +0000 (+0100) Subject: smbspool: use one element per line for the auth_errors array X-Git-Tag: ldb-2.1.1~107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a0c6ae24c99c6ba6969e849fd17fdd9ebbeba0a4;p=thirdparty%2Fsamba.git smbspool: use one element per line for the auth_errors array This makes it more obvious if the later change the array. Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index 5e2d230ab8b..c9efe176d3e 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -474,12 +474,18 @@ get_exit_code(NTSTATUS nt_status) */ static const NTSTATUS auth_errors[] = { - NT_STATUS_ACCESS_DENIED, NT_STATUS_ACCESS_VIOLATION, - NT_STATUS_SHARING_VIOLATION, NT_STATUS_PRIVILEGE_NOT_HELD, - NT_STATUS_INVALID_ACCOUNT_NAME, NT_STATUS_NO_SUCH_USER, - NT_STATUS_WRONG_PASSWORD, NT_STATUS_LOGON_FAILURE, - NT_STATUS_ACCOUNT_RESTRICTION, NT_STATUS_INVALID_LOGON_HOURS, - NT_STATUS_PASSWORD_EXPIRED, NT_STATUS_ACCOUNT_DISABLED + NT_STATUS_ACCESS_DENIED, + NT_STATUS_ACCESS_VIOLATION, + NT_STATUS_ACCOUNT_DISABLED, + NT_STATUS_ACCOUNT_RESTRICTION, + NT_STATUS_INVALID_ACCOUNT_NAME, + NT_STATUS_INVALID_LOGON_HOURS, + NT_STATUS_LOGON_FAILURE, + NT_STATUS_NO_SUCH_USER, + NT_STATUS_PASSWORD_EXPIRED, + NT_STATUS_PRIVILEGE_NOT_HELD, + NT_STATUS_SHARING_VIOLATION, + NT_STATUS_WRONG_PASSWORD, };