From: Michael Adam Date: Tue, 17 Jul 2007 10:30:13 +0000 (+0000) Subject: r23925: Use NULL instead of 0 for a void * argument. X-Git-Tag: build_3.2.7_ctdb.53~4233 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=864b3d260f3b099b1f24edf4ed0a7ed52b05f6cc;p=obnox%2Fsamba%2Fsamba-obnox.git r23925: Use NULL instead of 0 for a void * argument. --- diff --git a/source/lib/tdb/tools/tdbbackup.c b/source/lib/tdb/tools/tdbbackup.c index b9fbc41447d..a161085798d 100644 --- a/source/lib/tdb/tools/tdbbackup.c +++ b/source/lib/tdb/tools/tdbbackup.c @@ -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);