s3: Simplify pdb_set_plaintext_passwd() slightly
commitb3ad0c290bd7e4e2f1ecf6376bce1597a2c7cb62
authorVolker Lendecke <vl@samba.org>
Mon, 14 Dec 2009 17:13:28 +0000 (14 18:13 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 25 Jan 2010 11:49:18 +0000 (25 12:49 +0100)
tree84646abf2385ed0a194fd021a78ad8ac4fb258e3
parentd1bff7b8f601df38161be9aba3a9d70f609d946e
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
(cherry picked from commit 0630fdc5ec8440c8338c7302dc5b52849e3f50be)
source3/passdb/pdb_get_set.c