summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/auth_ntlmssp.c5
1 files 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) {