s3: Simplify winbindd_ads.c:trusted_domains()
commitc0625dcc189957083c5bfc93b7848ec5db942998
authorVolker Lendecke <vl@samba.org>
Mon, 28 Dec 2009 14:27:42 +0000 (28 15:27 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 29 Dec 2009 10:12:04 +0000 (29 11:12 +0100)
treee83c05da2d132c0a61c0d7230780a585069de9f3
parent633a95b8127ba3d8b45acd5a3fd7e49aa9beda8a
s3: Simplify winbindd_ads.c:trusted_domains()

No real code change, this just removes an indentation by turning

if ( NT_STATUS_IS_OK(result) && trusts.count) {

into

if (!NT_STATUS_IS_OK(result)) {
        return result;
}
if (trusts.count == 0) {
        return NT_STATUS_OK;
}
(cherry picked from commit 46b29dc1f664d7a9b378ded90ce9562ade07ddfd)
source3/winbindd/winbindd_ads.c