summaryrefslogtreecommitdiffstats
path: root/source/auth
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-02-04 16:50:09 +0100
committerVolker Lendecke <vl@samba.org>2008-02-04 19:41:04 +0100
commit22e49ef2c0c9b641068ac5419b9c82fb97d3e8e6 (patch)
tree159df4727f76ee703a030373b8c82c7a35e8de69 /source/auth
parent5223d18ea2d891418a0f833f58cc3502cb26ce03 (diff)
downloadsamba-22e49ef2c0c9b641068ac5419b9c82fb97d3e8e6.tar.gz
samba-22e49ef2c0c9b641068ac5419b9c82fb97d3e8e6.tar.xz
samba-22e49ef2c0c9b641068ac5419b9c82fb97d3e8e6.zip
tiny simplification
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/auth.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/auth/auth.c b/source/auth/auth.c
index 0a9ae32472d..e136fc2f045 100644
--- a/source/auth/auth.c
+++ b/source/auth/auth.c
@@ -508,11 +508,9 @@ NTSTATUS make_auth_context_subsystem(struct auth_context **auth_context)
DEBUG(5,("Using specified auth order\n"));
}
- if (!NT_STATUS_IS_OK(nt_status = make_auth_context_text_list(auth_context, auth_method_list))) {
- str_list_free(&auth_method_list);
- return nt_status;
- }
-
+ nt_status = make_auth_context_text_list(auth_context,
+ auth_method_list);
+
str_list_free(&auth_method_list);
return nt_status;
}