s3: Simplify winbindd_ads.c:trusted_domains()
commit46b29dc1f664d7a9b378ded90ce9562ade07ddfd
authorVolker Lendecke <vl@samba.org>
Mon, 28 Dec 2009 14:27:42 +0000 (28 15:27 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 28 Dec 2009 14:28:59 +0000 (28 15:28 +0100)
tree99e824eec2bf38a2ac5f6cbf383ad14f519377c3
parentf362be18f7cdc9634bbe5e8f306a380e1e0bc06f
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;
}
source3/winbindd/winbindd_ads.c