diff options
author | Simo Sorce <idra@samba.org> | 2013-12-25 23:28:58 -0500 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-12-27 20:39:54 +0100 |
commit | ac7de8021050e560d39f613ea4a2caab06c7a2a8 (patch) | |
tree | 669c7deed59887beec57b1a7987f2595c84cc6b7 | |
parent | ec499c3d668d0788c64276bf9a0f58ce9a915bd6 (diff) | |
download | samba-ac7de8021050e560d39f613ea4a2caab06c7a2a8.tar.gz samba-ac7de8021050e560d39f613ea4a2caab06c7a2a8.tar.xz samba-ac7de8021050e560d39f613ea4a2caab06c7a2a8.zip |
Compare the correct values
Reported by herwin <samba@herwinw.nl>
Resolves: https://bugzilla.samba.org/show_bug.cgi?id=10349
Signed-off-by: Simo Sorce <idra@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Dec 27 20:39:54 CET 2013 on sn-devel-104
-rw-r--r-- | source3/torture/pdbtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/pdbtest.c b/source3/torture/pdbtest.c index 17da455256..df2c326378 100644 --- a/source3/torture/pdbtest.c +++ b/source3/torture/pdbtest.c @@ -117,7 +117,7 @@ static bool samu_correct(struct samu *s1, struct samu *s2) DEBUG(0, ("Password history is not set\n")); } else if (d1_buf == NULL) { /* Do nothing */ - } else if (s1_len != s1_len) { + } else if (s1_len != s2_len) { DEBUG(0, ("Password history not written correctly, lengths differ, want %d, got %d\n", s1_len, s2_len)); ret = False; |