summaryrefslogtreecommitdiffstats
path: root/source3/tdb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-12-06 02:53:36 +0000
committerTim Potter <tpot@samba.org>2000-12-06 02:53:36 +0000
commit6e9eb6a31686e5ccf11afb304d01ba8a9bb8152b (patch)
treeb4fa5f83db983898f1d27db26d12502e8cbb5179 /source3/tdb
parent4cf7fcc505ea80d6096dcc7a7bb7d85f92432c11 (diff)
downloadsamba-6e9eb6a31686e5ccf11afb304d01ba8a9bb8152b.tar.gz
samba-6e9eb6a31686e5ccf11afb304d01ba8a9bb8152b.tar.xz
samba-6e9eb6a31686e5ccf11afb304d01ba8a9bb8152b.zip
tdb_chainunlock() no longer returns a value.
(This used to be commit 2c9704c3db4014ca43b4b13160b9f53ff5f36e3b)
Diffstat (limited to 'source3/tdb')
-rw-r--r--source3/tdb/tdbutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/tdb/tdbutil.c b/source3/tdb/tdbutil.c
index 3f17c0274e0..643f56c97b9 100644
--- a/source3/tdb/tdbutil.c
+++ b/source3/tdb/tdbutil.c
@@ -36,14 +36,14 @@ int tdb_lock_bystring(TDB_CONTEXT *tdb, char *keyval)
}
/* unlock a chain by string */
-int tdb_unlock_bystring(TDB_CONTEXT *tdb, char *keyval)
+void tdb_unlock_bystring(TDB_CONTEXT *tdb, char *keyval)
{
TDB_DATA key;
key.dptr = keyval;
key.dsize = strlen(keyval)+1;
- return tdb_chainunlock(tdb, key);
+ tdb_chainunlock(tdb, key);
}
/* lock a chain by string key */