summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libopkg/opkg_download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/opkg_download.c b/libopkg/opkg_download.c
index a1b8341..4a8b2a2 100644
--- a/libopkg/opkg_download.c
+++ b/libopkg/opkg_download.c
@@ -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;