summaryrefslogtreecommitdiff
path: root/source3/lib/tdb
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-07-17 10:30:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:45 -0500
commit4e23e4bd18658a9c40802ce654b6f1d1a921b47d (patch)
tree3857d0a8a86b3cbc0a8be75e781e6d4488d33d71 /source3/lib/tdb
parent7bef162aeb74afd654b8e802bdf81b220ceb44b4 (diff)
downloadsamba-4e23e4bd18658a9c40802ce654b6f1d1a921b47d.tar.gz
samba-4e23e4bd18658a9c40802ce654b6f1d1a921b47d.tar.bz2
samba-4e23e4bd18658a9c40802ce654b6f1d1a921b47d.zip
r23925: Use NULL instead of 0 for a void * argument.
(This used to be commit 864b3d260f3b099b1f24edf4ed0a7ed52b05f6cc)
Diffstat (limited to 'source3/lib/tdb')
-rw-r--r--source3/lib/tdb/tools/tdbbackup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/tdb/tools/tdbbackup.c b/source3/lib/tdb/tools/tdbbackup.c
index b9fbc41447..a161085798 100644
--- a/source3/lib/tdb/tools/tdbbackup.c
+++ b/source3/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);