git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d8518e
)
r23925: Use NULL instead of 0 for a void * argument.
author
Michael Adam
<obnox@samba.org>
Tue, 17 Jul 2007 10:30:13 +0000
(10:30 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:28:45 +0000
(12:28 -0500)
source/lib/tdb/tools/tdbbackup.c
patch
|
blob
|
history
diff --git
a/source/lib/tdb/tools/tdbbackup.c
b/source/lib/tdb/tools/tdbbackup.c
index b9fbc41447d0f87e543d1caa1d1a776793aefe76..a161085798d183eb59029da0c287ca63cddf6fa7 100644
(file)
--- 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);