From b427dfbf01c2f8fb8908a28bccbefd1fc1c6595c Mon Sep 17 00:00:00 2001 From: javiplx@gmail.com Date: Thu, 07 Apr 2011 11:03:54 -0400 Subject: Add flag in opkg_download calls to reduce the severity of the 'failed download' message git-svn-id: http://opkg.googlecode.com/svn/trunk@610 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/opkg_download.h') diff --git a/libopkg/opkg_download.h b/libopkg/opkg_download.h index 3e1c760..91b990e 100644 --- a/libopkg/opkg_download.h +++ b/libopkg/opkg_download.h @@ -25,7 +25,7 @@ typedef void (*opkg_download_progress_callback)(int percent, char *url); typedef int (*curl_progress_func)(void *data, double t, double d, double ultotal, double ulnow); -int opkg_download(const char *src, const char *dest_file_name, curl_progress_func cb, void *data); +int opkg_download(const char *src, const char *dest_file_name, curl_progress_func cb, void *data, const short hide_error); int opkg_download_pkg(pkg_t *pkg, const char *dir); /* * Downloads file from url, installs in package database, return package name. -- cgit v0.9.1