s3: Simplify pdb_set_plaintext_passwd() slightly
authorVolker Lendecke <vl@samba.org>
Mon, 14 Dec 2009 17:13:28 +0000 (18:13 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 25 Jan 2010 11:41:54 +0000 (12:41 +0100)
commit0630fdc5ec8440c8338c7302dc5b52849e3f50be
tree19834e0461e890c12b0694866c88a29d1a948af3
parent53e9ffb3a66acfa9af2bf4c616b2b83daf723f49
s3: Simplify pdb_set_plaintext_passwd() slightly

No functional change, this just removes an indentation level by the early
"return True;" in

+       if ((pdb_get_acct_ctrl(sampass) & ACB_NORMAL) == 0) {
+               /*
+                * No password history for non-user accounts
+                */
+               return true;
+       }

Volker
source3/passdb/pdb_get_set.c