Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
/*
* Clear the transaction id inserted by log_start_transaction
*/
- memset(&audit_private->transaction_guid, 0, sizeof(struct GUID));
+ audit_private->transaction_guid = GUID_zero();
return ret;
}
struct audit_private);
log_transaction(module, "rollback", TRANSACTION_LOG_FAILURE_LVL);
- memset(&audit_private->transaction_guid, 0, sizeof(struct GUID));
+ audit_private->transaction_guid = GUID_zero();
return ldb_next_del_trans(module);
}