From 1dbdddf223b5beb873505164310862b6bd2093d2 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 2 Aug 2011 23:17:02 +1000 Subject: s3-ntlmssp Remove a level of nesting in if/else statement --- source3/auth/auth_ntlmssp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index cccb319ccc..392955685c 100644 --- a/source3/auth/auth_ntlmssp.c +++ b/source3/auth/auth_ntlmssp.c @@ -223,10 +223,9 @@ NTSTATUS auth_ntlmssp_prepare(const struct tsocket_address *remote_address, if (!NT_STATUS_IS_OK(nt_status)) { TALLOC_FREE(ans); return nt_status; - } else { - *auth_ntlmssp_state = ans; - return NT_STATUS_OK; } + *auth_ntlmssp_state = ans; + return NT_STATUS_OK; } if ((enum server_role)lp_server_role() == ROLE_STANDALONE) { -- cgit