s3: Simplify pdb_set_plaintext_passwd() by removing a redundant condition
commit0101bdf41b83df6b11d91cba86ac49aac7babf50
authorVolker Lendecke <vl@samba.org>
Mon, 14 Dec 2009 17:50:38 +0000 (14 18:50 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 25 Jan 2010 11:49:20 +0000 (25 12:49 +0100)
tree5a9f55e2a87165c9dacb818ab4ff5e3c017fbccc
parentd5791386f0b5162b078408df2eceaba7837f1977
s3: Simplify pdb_set_plaintext_passwd() by removing a redundant condition

if (current_history_len != pwHistLen) {
     if (current_history_len < pwHistLen) {
     }
}

The second "if" is a bit pointless here
(cherry picked from commit 76a9af7cac4a6d6ba00d81a946db094ecfd43817)
source3/passdb/pdb_get_set.c