Confirm-commit refactoring
Moved commit-confirm code to backend_confirm.c and removed (almost all) globals vars
This commit is contained in:
parent
6f0bd01a6a
commit
62e652bbcf
9 changed files with 883 additions and 595 deletions
|
|
@ -227,7 +227,7 @@ main(int argc,
|
|||
goto done;
|
||||
}
|
||||
if (commit){
|
||||
if ((ret = candidate_commit(h, database, cb)) < 0)
|
||||
if ((ret = candidate_commit(h, NULL, database, cb)) < 0)
|
||||
goto done;
|
||||
}
|
||||
else{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue