s3: Simplify pdb_set_plaintext_passwd() a bit
commit0567a7615de54a6cff6e808dd1e7fbf8a3616476
authorVolker Lendecke <vl@samba.org>
Mon, 14 Dec 2009 17:24:04 +0000 (14 18:24 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 25 Jan 2010 11:49:18 +0000 (25 12:49 +0100)
treeb324907e9b2e1aa7a171c75cecf5dc685e401391
parentb3ad0c290bd7e4e2f1ecf6376bce1597a2c7cb62
s3: Simplify pdb_set_plaintext_passwd() a bit

Remove an indentation by the early return in

+       if (pwHistLen == 0) {
+               /* Set the history length to zero. */
+               pdb_set_pw_history(sampass, NULL, 0, PDB_CHANGED);
+               return true;
+       }
(cherry picked from commit 7097be60809252c6faf0388d0019384f01a7ff42)
source3/passdb/pdb_get_set.c