s3-pdbtest: Fix pdbtest to compare the same fields
authorAndrew Bartlett <abartlet@samba.org>
Tue, 26 Jun 2012 11:06:25 +0000 (21:06 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 26 Jun 2012 14:09:28 +0000 (16:09 +0200)
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jun 26 16:09:28 CEST 2012 on sn-devel-104

source3/torture/pdbtest.c

index e2551c0010660cac5c6423f0b19bd132c03e6a36..14e28e98b751ca302ed5c3841f2ee0a67a2e69da 100644 (file)
@@ -133,7 +133,7 @@ static bool samu_correct(struct samu *s1, struct samu *s2)
        }
 
        /* Check kickoff time */
-       if (pdb_get_kickoff_time(s1) != pdb_get_logoff_time(s2)) {
+       if (pdb_get_kickoff_time(s1) != pdb_get_kickoff_time(s2)) {
                DEBUG(0, ("Kickoff time is not written correctly\n"));
                ret = False;
        }