diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:02:14 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:02:14 (EST) |
commit | e107c4253aba1620f80caa375dbe0d405fcdde83 (patch) | |
tree | 16c07a9ef905cd770a49703f741f42869934e611 /libopkg/opkg_download.c | |
parent | a18410f02b51d400450c30d0b769b2f1e3e6736a (diff) |
opkg: remove some printfs and replace with opkg_message where appropriate
git-svn-id: http://opkg.googlecode.com/svn/trunk@57 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg_download.c')
-rw-r--r-- | libopkg/opkg_download.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libopkg/opkg_download.c b/libopkg/opkg_download.c index 4160b97..27b9d2e 100644 --- a/libopkg/opkg_download.c +++ b/libopkg/opkg_download.c @@ -182,7 +182,9 @@ int opkg_download(opkg_conf_t *conf, const char *src, const char *dest_file_name else return -1; - printf ("\n"); + /* if no custom progress handler was set, we need to clear the default progress bar */ + if (!opkg_cb_download_progress) + printf ("\n"); err = file_move(tmp_file_location, dest_file_name); |