[PATCH] Check return code of secrets_init() function.
Tim Potter
tpot at hp.com
Sun Feb 17 23:21:50 GMT 2008
---
source/smbd/server.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/source/smbd/server.c b/source/smbd/server.c
index 7116027..7bf11ab 100644
--- a/source/smbd/server.c
+++ b/source/smbd/server.c
@@ -988,7 +988,8 @@ static bool init_structs(void )
init_dptrs();
- secrets_init();
+ if (!secrets_init())
+ return False;
return True;
}
--
1.5.2.5
More information about the samba-technical
mailing list