summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-03 08:16:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:45 -0500
commitaf04a37ce79cfa7ba912f30fd28965cd568eb4e4 (patch)
tree0564e9936312ccc582a283464cc487e630629d78 /source4/lib/tdb
parentd3fee429aee87e9c05a4a606fbf0b60b16dac782 (diff)
downloadsamba-af04a37ce79cfa7ba912f30fd28965cd568eb4e4.tar.gz
samba-af04a37ce79cfa7ba912f30fd28965cd568eb4e4.tar.bz2
samba-af04a37ce79cfa7ba912f30fd28965cd568eb4e4.zip
r16776: fix typo
metze (This used to be commit 249bf24a40f78aab181a4cce8c42902859e43238)
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r--source4/lib/tdb/common/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tdb/common/open.c b/source4/lib/tdb/common/open.c
index c8f836490b..6332e34f13 100644
--- a/source4/lib/tdb/common/open.c
+++ b/source4/lib/tdb/common/open.c
@@ -369,7 +369,7 @@ int tdb_close(struct tdb_context *tdb)
void tdb_logging_function(struct tdb_context *tdb, tdb_log_func log_fn, void *log_private)
{
tdb->log_fn = log_fn?log_fn:null_log_fn;
- tdb->log_fn = log_fn?log_private:NULL;
+ tdb->log_private = log_fn?log_private:NULL;
}
void *tdb_logging_private(struct tdb_context *tdb)