Fix Coverity ID 592
commitec4015d34fed1f0a53ae495d9d9b2744f0c29df0
authorVolker Lendecke <vl@samba.org>
Sun, 31 Aug 2008 09:34:01 +0000 (31 11:34 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 31 Aug 2008 09:36:27 +0000 (31 11:36 +0200)
tree8987f8b80793e9ef0275a2a932a09bc8ae347e26
parent8f525afbd2f2a849086c60ee890218a070cecd34
Fix Coverity ID 592

The scanner did not figure out that we always have a primary domain, so it
complained about us potentially passing a NULL pointer down to
set_domain_online_request() where it is dereferenced.

Make the code a bit clearer.
(This used to be commit e6e8d108f95ed974f98f3f57adcfbbde4e00fad9)
source3/winbindd/winbindd_dual.c