diff options
author | Michael Adam <obnox@samba.org> | 2008-03-25 14:18:08 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-03-27 08:38:25 +0100 |
commit | 26df11aca3fb448694dcd58cb0b74eae48f4e470 (patch) | |
tree | 95cd3a70cad0e249d7d1a39bb4baebd0dc53b66f /source/intl/lang_tdb.c | |
parent | 8381866d0789343c4dc88b84ba1e9c70ca69595b (diff) | |
download | samba-26df11aca3fb448694dcd58cb0b74eae48f4e470.tar.gz |
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
(cherry picked from commit d4be4e30cd8c3bdc303da30e42280f892a45a8c9)
Diffstat (limited to 'source/intl/lang_tdb.c')
-rw-r--r-- | source/intl/lang_tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/intl/lang_tdb.c b/source/intl/lang_tdb.c index 6ad9ef8496b..4e4a3a5e207 100644 --- a/source/intl/lang_tdb.c +++ b/source/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; |