diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-06-20 18:40:31 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-06-20 11:18:35 +0200 |
commit | 058c4f84924c07b88ccaf3d617f3abff797a7cc8 (patch) | |
tree | c9ea7b1331a55fb73f832203dd9f643b7c216fd2 /source3/lib/gencache.c | |
parent | 0e4c358e2710580d5aeb439d767c87aaf4c0f2f3 (diff) | |
download | samba-058c4f84924c07b88ccaf3d617f3abff797a7cc8.tar.gz samba-058c4f84924c07b88ccaf3d617f3abff797a7cc8.tar.bz2 samba-058c4f84924c07b88ccaf3d617f3abff797a7cc8.zip |
tdb_fetch_compat: use instead of tdb_fetch.
This is a noop for tdb1.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'source3/lib/gencache.c')
-rw-r--r-- | source3/lib/gencache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c index 8d4861a176..5e15472829 100644 --- a/source3/lib/gencache.c +++ b/source3/lib/gencache.c @@ -206,7 +206,7 @@ bool gencache_set_data_blob(const char *keystr, const DATA_BLOB *blob, */ last_stabilize = 0; - databuf = tdb_fetch(cache_notrans, last_stabilize_key()); + databuf = tdb_fetch_compat(cache_notrans, last_stabilize_key()); if ((databuf.dptr != NULL) && (databuf.dptr[databuf.dsize-1] == '\0')) { last_stabilize = atoi((char *)databuf.dptr); |