git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cf3a98
)
Initialize _domain_list to NULL.
author
Michael Adam
<obnox@samba.org>
Wed, 23 Jan 2008 12:52:42 +0000
(13:52 +0100)
committer
Michael Adam
<obnox@samba.org>
Wed, 23 Jan 2008 12:52:42 +0000
(13:52 +0100)
Just to be sure the "if (!_domain_list)" in domain_list() test always works.
Michael
source/winbindd/winbindd_util.c
patch
|
blob
|
history
diff --git
a/source/winbindd/winbindd_util.c
b/source/winbindd/winbindd_util.c
index dc48fdef8b1816ac6b44858a9ecc184b2f531c4e..038105333138e739c137b2c7f510f54c3777b594 100644
(file)
--- a/
source/winbindd/winbindd_util.c
+++ b/
source/winbindd/winbindd_util.c
@@
-41,7
+41,7
@@
extern struct winbindd_methods passdb_methods;
individual winbindd_domain structures cannot be made. Keep a copy of
the domain name instead. */
-static struct winbindd_domain *_domain_list;
+static struct winbindd_domain *_domain_list
= NULL
;
/**
When was the last scan of trusted domains done?