s3: Simplify pdb_set_plaintext_passwd() a bit
authorVolker Lendecke <vl@samba.org>
Mon, 14 Dec 2009 17:24:04 +0000 (18:24 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 25 Jan 2010 11:41:55 +0000 (12:41 +0100)
commit7097be60809252c6faf0388d0019384f01a7ff42
tree9970d297c1ae0c2edeed860ac26bc333ee195a2a
parent0630fdc5ec8440c8338c7302dc5b52849e3f50be
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;
+       }
source3/passdb/pdb_get_set.c