1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

s3:net registry import: add an assert

Pair-Programmed-With: Gergor Beck <gbeck@sernet.de>
This commit is contained in:
Michael Adam 2012-06-26 15:13:28 +02:00
parent 8bf08505c1
commit 3705119bb0

View File

@ -1301,6 +1301,8 @@ static int net_registry_import(struct net_context *c, int argc,
goto done;
}
SMB_ASSERT(ret == 0);
werr = regdb_transaction_commit();
if (!W_ERROR_IS_OK(werr)) {
d_printf("Failed to commit transaction on regdb: %s\n",