summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-19 20:05:07 +0100
committerVolker Lendecke <vl@samba.org>2011-02-20 10:23:29 +0100
commit51b84a9ed7eaa7e38e2279a825290976bfa40177 (patch)
tree991a7a216ec6c551844a1ce6f693238968bc746c /source3/auth
parent88f52155607ccc653d4f4610557bfa10b83e4c73 (diff)
downloadsamba-51b84a9ed7eaa7e38e2279a825290976bfa40177.tar.gz
samba-51b84a9ed7eaa7e38e2279a825290976bfa40177.tar.bz2
samba-51b84a9ed7eaa7e38e2279a825290976bfa40177.zip
s3: Convert init_system_info to NTSTATUS
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_util.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 1c036ff124..a30a36f9aa 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -918,13 +918,12 @@ NTSTATUS make_server_info_guest(TALLOC_CTX *mem_ctx,
static struct auth_serversupplied_info *system_info = NULL;
-bool init_system_info(void)
+NTSTATUS init_system_info(void)
{
if (system_info != NULL)
- return True;
+ return NT_STATUS_OK;
- return NT_STATUS_IS_OK(make_new_server_info_system(NULL,
- &system_info));
+ return make_new_server_info_system(NULL, &system_info);
}
NTSTATUS make_server_info_system(TALLOC_CTX *mem_ctx,