libopkg: support passing callbacks to feed parsing functions
[oweals/opkg-lede.git] / src / opkg-cl.c
index 351574b175bb049b8c445ed0306a6c23f027d408..21318833cd4f0184d1b3e8832232e6b44cdb65e7 100644 (file)
@@ -431,11 +431,11 @@ int main(int argc, char *argv[])
 
        if (!nocheckfordirorfile) {
                if (!noreadfeedsfile) {
-                       if (pkg_hash_load_feeds(SF_NEED_DETAIL))
+                       if (pkg_hash_load_feeds(SF_NEED_DETAIL, NULL, NULL))
                                goto err1;
                }
 
-               if (pkg_hash_load_status_files())
+               if (pkg_hash_load_status_files(NULL, NULL))
                        goto err1;
        }