summaryrefslogtreecommitdiff
path: root/source3/intl
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-25 14:18:08 +0100
committerMichael Adam <obnox@samba.org>2008-03-25 15:55:34 +0100
commitaaa59713155b63b2597f955622be9019bb3cbe89 (patch)
tree387265c33a331aa940f4f1984f2b2fd67c594b54 /source3/intl
parent2d02e5a16d53072a73d0d864da9b90dd3dad994a (diff)
downloadsamba-aaa59713155b63b2597f955622be9019bb3cbe89.tar.gz
samba-aaa59713155b63b2597f955622be9019bb3cbe89.tar.bz2
samba-aaa59713155b63b2597f955622be9019bb3cbe89.zip
util_tdb: add a wrapper tdb_wipe() for traverse with tdb_traverse_delete_fn().
Replace all callers of traverse with this tdb_traverse_delete_fn() and don't export tdb_traverse_delete_fn() anymore. Michael (This used to be commit d4be4e30cd8c3bdc303da30e42280f892a45a8c9)
Diffstat (limited to 'source3/intl')
-rw-r--r--source3/intl/lang_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/intl/lang_tdb.c b/source3/intl/lang_tdb.c
index 6ad9ef8496..4e4a3a5e20 100644
--- a/source3/intl/lang_tdb.c
+++ b/source3/intl/lang_tdb.c
@@ -45,7 +45,7 @@ static bool load_msg(const char *msg_file)
}
/* wipe the db */
- tdb_traverse(tdb, tdb_traverse_delete_fn, NULL);
+ tdb_wipe(tdb);
msgid = NULL;