summaryrefslogtreecommitdiffstats
path: root/src/curl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/curl.c')
-rw-r--r--src/curl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/curl.c b/src/curl.c
index 6c9ef60..e16ccf1 100644
--- a/src/curl.c
+++ b/src/curl.c
@@ -196,14 +196,14 @@ int download_pkg(const rc_config *global_config,pkg_info_t *pkg){
if( global_config->dl_stats == TRUE ){
int dl_total_size = pkg->size_c - (f_size/1024);
- printf(_("Downloading %s %s %s [%0.1d%s]...\n"),
+ printf(_("Downloading %s %s %s [%.1d%s]...\n"),
pkg->mirror,pkg->name,pkg->version,
( dl_total_size > 1024 ) ? dl_total_size / 1024 : dl_total_size,
( dl_total_size > 1024 ) ? "MB" : "kB"
);
}else{
int dl_total_size = pkg->size_c - (f_size/1024);
- printf(_("Downloading %s %s %s [%0.1d%s]..."),
+ printf(_("Downloading %s %s %s [%.1d%s]..."),
pkg->mirror,pkg->name,pkg->version,
( dl_total_size > 1024 ) ? dl_total_size / 1024 : dl_total_size,
( dl_total_size > 1024 ) ? "MB" : "kB"