diff options
author | Tim Potter <tpot@samba.org> | 2000-02-16 04:56:11 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-02-16 04:56:11 +0000 |
commit | f89a1e9999da7868c47363f3239ad28a7c46d601 (patch) | |
tree | 5215becc3ec82e67b63c340badaad6a2e4433e5f /source3 | |
parent | 4175061348544af75b5e7ea8153aa6bbbf6001db (diff) | |
download | samba-f89a1e9999da7868c47363f3239ad28a7c46d601.tar.gz samba-f89a1e9999da7868c47363f3239ad28a7c46d601.tar.bz2 samba-f89a1e9999da7868c47363f3239ad28a7c46d601.zip |
tdb_traverse() now takes three arguments.
(This used to be commit 2d3e2f8877fb8eb21b4ccf4d7a56f1c625c71780)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/tdb/tdbtorture.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/tdb/tdbtorture.c b/source3/tdb/tdbtorture.c index 3eb462d79e..d72d7b3525 100644 --- a/source3/tdb/tdbtorture.c +++ b/source3/tdb/tdbtorture.c @@ -106,9 +106,9 @@ int main(int argc, char *argv[]) srand(seed + getpid()); for (i=0;i<loops;i++) addrec_db(); - printf("traversed %d records\n", tdb_traverse(db, NULL)); - printf("traversed %d records\n", tdb_traverse(db, traverse_fn)); - printf("traversed %d records\n", tdb_traverse(db, traverse_fn)); + printf("traversed %d records\n", tdb_traverse(db, NULL, NULL)); + printf("traversed %d records\n", tdb_traverse(db, traverse_fn, NULL)); + printf("traversed %d records\n", tdb_traverse(db, traverse_fn, NULL)); tdb_close(db); |