libopkg: fix unsatisfied dependency reporting
authorJo-Philipp Wich <jo@mein.io>
Wed, 15 Feb 2017 22:39:47 +0000 (23:39 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 16 Feb 2017 16:02:29 +0000 (17:02 +0100)
commita5de03e4dce94f10a6efdf22fbddc20636004e8d
treebbd13c1f1e91e5d0d81f772c1b8e9674826d784f
parent54cc7e3bd1f79569022aa9fc3d0e748c81e3bcd8
libopkg: fix unsatisfied dependency reporting

Previous refactoring of pkg_hash_fetch_unsatisfied_dependencies() caused the
outermost loop counter variable to not get incremented anymore, causing the
function to always report the first dependency as unsatisifed.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/pkg_depends.c