1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

regdb: use dbwrap_trans_store_int32

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 9620696083473e3a98b46dd90b3b4aa287580940)
This commit is contained in:
Stefan Metzmacher 2008-03-26 21:25:06 +01:00 committed by Michael Adam
parent 474916b70c
commit d9de61341c

View File

@ -352,7 +352,7 @@ bool regdb_init(void)
/* any upgrade code here if needed */
DEBUG(10, ("regdb_init: got %s = %d != %d\n", vstring,
vers_id, REGVER_V1));
if (dbwrap_store_int32(regdb, vstring, REGVER_V1) != 0) {
if (dbwrap_trans_store_int32(regdb, vstring, REGVER_V1) != 0) {
DEBUG(0, ("regdb_init: error storing %s = %d\n",
vstring, REGVER_V1));
return false;