s3: Simplify pdb_set_plaintext_passwd() a bit
authorVolker Lendecke <vl@samba.org>
Mon, 14 Dec 2009 17:24:04 +0000 (18:24 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 7 Jan 2010 10:07:52 +0000 (11:07 +0100)
commit7ba006430f427a1f28300d29a5c045a552d2382c
tree5ee26a1e46367dcb5c3662f7c8c4fd3a5dd2d30d
parentca6c1cdd5faa1c2ff067b53f2ad6b811fe9d79bb
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