s3: Simplify pdb_set_plaintext_passwd() slightly
commitca6c1cdd5faa1c2ff067b53f2ad6b811fe9d79bb
authorVolker Lendecke <vl@samba.org>
Mon, 14 Dec 2009 17:13:28 +0000 (14 18:13 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 7 Jan 2010 10:07:52 +0000 (7 11:07 +0100)
treed1f7500efaa49ad0384af9249490854246241b6b
parent3d8394986a8fc1df599a2496b0677ece354f35b3
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