s3: Simplify pdb_set_plaintext_passwd() by removing a redundant condition
authorVolker Lendecke <vl@samba.org>
Mon, 14 Dec 2009 17:50:38 +0000 (18:50 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 25 Jan 2010 11:41:56 +0000 (12:41 +0100)
commit76a9af7cac4a6d6ba00d81a946db094ecfd43817
tree237fc5732851b00a8ac741de9c505c56604dc03c
parent8a4463c61292872e9a294a6b026ec6d65d2219b8
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
source3/passdb/pdb_get_set.c