X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fprogress.c;h=219b5beaef7a0dba92213648e03e397c9db490e5;hp=9b9d1e49e4f82a107eb04329ba6fe10ae83abb87;hb=2f6aa1d7417df1dfc58597777686fbd77179b9fd;hpb=2e1619d3fed0bb49a03b787b5c2c7ff0d1eb0f10 diff --git a/src/progress.c b/src/progress.c index 9b9d1e49..219b5bea 100644 --- a/src/progress.c +++ b/src/progress.c @@ -1,6 +1,6 @@ /* Download progress. - Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, - 2008 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, + 2010, 2011 Free Software Foundation, Inc. This file is part of GNU Wget. @@ -34,9 +34,7 @@ as that of the covered work. */ #include #include #include -#ifdef HAVE_UNISTD_H -# include -#endif +#include #include #ifdef HAVE_WCHAR_H # include @@ -715,7 +713,7 @@ update_speed_ring (struct bar_progress *bp, wgint howmuch, double dltime) if (bp->stalled) { bp->stalled = false; - /* "recent_age" includes the the entired stalled period, which + /* "recent_age" includes the entired stalled period, which could be very long. Don't update the speed ring with that value because the current bandwidth would start too small. Start with an arbitrary (but more reasonable) time value and @@ -800,7 +798,7 @@ count_cols (const char *mbs) const char * get_eta (int *bcd) { - /* Translation note: "ETA" is English-centric, but this must + /* TRANSLATORS: "ETA" is English-centric, but this must be short, ideally 3 chars. Abbreviate if necessary. */ static const char eta_str[] = N_(" eta %s"); static const char *eta_trans;