summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@hp.com>2008-02-18 10:21:50 +1100
committerGünther Deschner <gd@samba.org>2008-02-18 10:15:44 +0100
commita8fbb92146ddfe0b774f8385dfdea672447a1c46 (patch)
tree9245aa4d5dc5d28ddfe73347bcb601aaacbc959e
parent2cd374db8d53cf9727da6c99a7fc48f4dd09fd4b (diff)
downloadsamba-a8fbb92146ddfe0b774f8385dfdea672447a1c46.tar.gz
samba-a8fbb92146ddfe0b774f8385dfdea672447a1c46.tar.bz2
samba-a8fbb92146ddfe0b774f8385dfdea672447a1c46.zip
Check return code of secrets_init() function.
(This used to be commit 2b1eead269e95142576d0c8c259874324ba83502)
-rw-r--r--source3/smbd/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 7116027adf..7bf11abfbd 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -988,7 +988,8 @@ static bool init_structs(void )
init_dptrs();
- secrets_init();
+ if (!secrets_init())
+ return False;
return True;
}