From 51b84a9ed7eaa7e38e2279a825290976bfa40177 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 19 Feb 2011 20:05:07 +0100 Subject: s3: Convert init_system_info to NTSTATUS --- source3/auth/auth_util.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source3/auth') 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, -- cgit