s3: Simplify winbindd_ads.c:trusted_domains()
authorVolker Lendecke <vl@samba.org>
Mon, 28 Dec 2009 14:27:42 +0000 (15:27 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 28 Dec 2009 14:28:43 +0000 (15:28 +0100)
commit0aa8946ce08bd50ecf30349894c311efd646492a
tree5eac5e79e9d74535fababadc125dae2422c5cf94
parent2c49678ce5d9203a0af2fa82961c0ebc59e1488f
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