Fix compilation after r617
authorgoogle@wwsnet.net <google@wwsnet.net@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 8 Apr 2011 13:33:11 +0000 (13:33 +0000)
committergoogle@wwsnet.net <google@wwsnet.net@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 8 Apr 2011 13:33:11 +0000 (13:33 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@618 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

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;