Fix compilation after r617
[oweals/opkg-lede.git] / libopkg / opkg_download.c
index a1b83416bffde9382e78c5be66ee071226d57269..4a8b2a2b9d4c854fd2ea7a75fe20b19f83bf58d3 100644 (file)
@@ -227,7 +227,7 @@ opkg_download_cache(const char *src, const char *dest_file_name,
         if (file_exists(cache_location))
            opkg_msg(NOTICE, "Copying %s.\n", cache_location);
         else  {
-           err = opkg_download(src, cache_location, cb, data);
+           err = opkg_download(src, cache_location, cb, data, 0);
            if (err) {
               (void) unlink(cache_location);
               goto out2;