diff options
author | Michael Adam <obnox@samba.org> | 2008-01-23 13:52:42 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-23 13:52:42 +0100 |
commit | 3b83f4915885edfe8f01f4f68daad6b909fe473d (patch) | |
tree | 70283b8707d5c6fd24dce9fe03f409027456e1b8 | |
parent | 5f962d9b986e163bd3cceed6f9a9eebb61fdff27 (diff) | |
download | samba-3b83f4915885edfe8f01f4f68daad6b909fe473d.tar.gz samba-3b83f4915885edfe8f01f4f68daad6b909fe473d.tar.bz2 samba-3b83f4915885edfe8f01f4f68daad6b909fe473d.zip |
Initialize _domain_list to NULL.
Just to be sure the "if (!_domain_list)" in domain_list() test always works.
Michael
(This used to be commit 1f49065d44dd7570d5a9928359751bd36f287952)
-rw-r--r-- | source3/winbindd/winbindd_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c index dc48fdef8b..0381053331 100644 --- a/source3/winbindd/winbindd_util.c +++ b/source3/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? |