git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b1d6a6
)
s3-ntlmssp Remove a level of nesting in if/else statement
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 2 Aug 2011 13:17:02 +0000
(23:17 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 3 Aug 2011 08:48:05 +0000
(18:48 +1000)
source3/auth/auth_ntlmssp.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_ntlmssp.c
b/source3/auth/auth_ntlmssp.c
index cccb319ccc63efd989fe1090e8435321bd0cecb2..392955685c93f1571a4a4bd9edab2c54f3eeddb9 100644
(file)
--- 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) {