git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e208a7
)
s4-smbd: fix randseed_init() usage.
author
Günther Deschner
<gd@samba.org>
Fri, 6 May 2011 14:22:41 +0000
(16:22 +0200)
committer
Günther Deschner
<gd@samba.org>
Fri, 6 May 2011 15:37:11 +0000
(17:37 +0200)
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri May 6 17:37:11 CEST 2011 on sn-devel-104
source4/smbd/server.c
patch
|
blob
|
history
diff --git
a/source4/smbd/server.c
b/source4/smbd/server.c
index 4cd0263137fcc1081605f7dd6d78d67dc340df2f..8daf5d4c1184a2536a86155ca4bf0ca3f259511a 100644
(file)
--- 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;
}