]> err.no Git - systemd/commit
transaction: improve readability
authorMichal Schmidt <mschmidt@redhat.com>
Sat, 21 Apr 2012 19:40:40 +0000 (21:40 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Mon, 23 Apr 2012 23:54:14 +0000 (01:54 +0200)
commit055163ad15a5ca1eb5626c63fa7163e152698e2b
tree1bf92471ad5dd5b026b63a3a830b0a921349660d
parentff644623750b4f672a79cab6cc52e8681e55a044
transaction: improve readability

The functions looked complicated with the nested loops with breaks,
continues, and "while (again)".
Here using goto actually makes them easier to understand.

Also correcting the comment about redundant jobs.
src/core/transaction.c