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:
parent
8bf08505c1
commit
3705119bb0
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user