r23925: Use NULL instead of 0 for a void * argument.
authorMichael Adam <obnox@samba.org>
Tue, 17 Jul 2007 10:30:13 +0000 (10:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:45 +0000 (12:28 -0500)
source/lib/tdb/tools/tdbbackup.c

index b9fbc41447d0f87e543d1caa1d1a776793aefe76..a161085798d183eb59029da0c287ca63cddf6fa7 100644 (file)
@@ -163,7 +163,7 @@ static int backup_tdb(const char *old_name, const char *new_name, int hash_size)
        }
        
        /* traverse the new tdb to confirm */
-       count2 = tdb_traverse(tdb_new, test_fn, 0);
+       count2 = tdb_traverse(tdb_new, test_fn, NULL);
        if (count2 != count1) {
                fprintf(stderr,"failed to copy %s\n", old_name);
                tdb_close(tdb_new);