summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-06 16:22:41 +0200
committerGünther Deschner <gd@samba.org>2011-05-06 17:37:11 +0200
commitfa8490aa4cdf8c1836919ca412de1488840094f5 (patch)
tree454bbd61612c600b280fbcba30a455f625030f18 /source4/smbd
parent1e208a705718adb105d89093041c0ba5d51f2429 (diff)
downloadsamba-fa8490aa4cdf8c1836919ca412de1488840094f5.tar.gz
samba-fa8490aa4cdf8c1836919ca412de1488840094f5.tar.bz2
samba-fa8490aa4cdf8c1836919ca412de1488840094f5.zip
s4-smbd: fix randseed_init() usage.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 6 17:37:11 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 4cd0263137..8daf5d4c11 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -390,7 +390,7 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[
/* Set up a database to hold a random seed, in case we don't
* have /dev/urandom */
- if (randseed_init(talloc_autofree_context(), cmdline_lp_ctx) == NULL) {
+ if (!randseed_init(talloc_autofree_context(), cmdline_lp_ctx)) {
return 1;
}