mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
s3: Slightly simplify db_ctdb_transaction_commit
Avoid an unnecessary "else". Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
b206b52748
commit
6e0259d8ec
@ -836,7 +836,8 @@ again:
|
||||
if (new_seqnum == old_seqnum) {
|
||||
/* Recovery prevented all our changes: retry. */
|
||||
goto again;
|
||||
} else if (new_seqnum != (old_seqnum + 1)) {
|
||||
}
|
||||
if (new_seqnum != (old_seqnum + 1)) {
|
||||
DEBUG(0, (__location__ " ERROR: new_seqnum[%lu] != "
|
||||
"old_seqnum[%lu] + (0 or 1) after failed "
|
||||
"TRANS3_COMMIT - this should not happen!\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user