dsdb: Slightly simplify samdb_check_password
commit579ce3eb4e5b14159cfe20d00f0ba7e4801f2944
authorVolker Lendecke <vl@samba.org>
Thu, 15 Nov 2018 09:40:50 +0000 (15 10:40 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 16 Nov 2018 17:35:22 +0000 (16 18:35 +0100)
treefacd7c28bc9faffa61f8841430d1ed5496d95a39
parentda1d7af1a7b15c91742568849c07f796512a93cf
dsdb: Slightly simplify samdb_check_password

Avoid an "else" where we have the early return

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Björn Baumbach <bbaumbach@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/dsdb/common/util.c