Move the install-only payload reading to the install-only code
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 17 Apr 2012 13:53:12 +0000 (16:53 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 17 Apr 2012 13:55:46 +0000 (16:55 +0300)
commitd852a56e1775cd937034364cf4688ee353e9e56a
tree7916df4a8062656de57e7f5810ff73111deddfbf
parent9e73ca9fccac1e45ce0d7b81c684cbd28fdc2f40
Move the install-only payload reading to the install-only code

- Besides simplifying the common path everything takes, this removes
  the need to map error returns back and forth when we can just
  detect the end of payload directly in the loop and break out.
lib/fsm.c