tftp: do not show progress bar if we get error right away. +13 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-03-05 23:38:54 +01:00
parent 4b1100edd8
commit cbcc1236f8
5 changed files with 14 additions and 8 deletions

View File

@ -1490,6 +1490,7 @@ typedef struct bb_progress_t {
off_t lastsize;
unsigned lastupdate_sec;
unsigned start_sec;
smallint inited;
} bb_progress_t;
void bb_progress_init(bb_progress_t *p) FAST_FUNC;