opkg_cmd: fix endless loop in whatprovides/whatreplaces
authorJo-Philipp Wich <jo@mein.io>
Mon, 27 Feb 2017 19:19:21 +0000 (20:19 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 27 Feb 2017 19:19:21 +0000 (20:19 +0100)
commit439c89e2be0ec0e62da6bd4b592964caff65bee1
tree062fb786e3abca85664d70d65129542a28a96efd
parent0fb3e9f24ffe4fd04da800ca988d60d2ed835457
opkg_cmd: fix endless loop in whatprovides/whatreplaces

Fix the loop semantics in opkg_what_provides_replaces_cmd() to properly
advance the package vector pointer.

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