summaryrefslogtreecommitdiff
path: root/source4/passdb/secrets.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/passdb/secrets.c')
-rw-r--r--source4/passdb/secrets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/passdb/secrets.c b/source4/passdb/secrets.c
index 01eb82f414..60e211e66f 100644
--- a/source4/passdb/secrets.c
+++ b/source4/passdb/secrets.c
@@ -82,7 +82,7 @@ BOOL secrets_store(const char *key, const void *data, size_t size)
dbuf.dptr = memdup(data, size);
dbuf.dsize = size;
- ret = tdb_store(tdb, kbuf, dbuf, TDB_REPLACE) == 0;
+ ret = tdb_store(tdb, kbuf, dbuf, TDB_REPLACE);
free(kbuf.dptr);
free(dbuf.dptr);