From cbcc1236f806f18e6386e6e1f495a9832b7d307d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 5 Mar 2010 23:38:54 +0100 Subject: tftp: do not show progress bar if we get error right away. +13 bytes Signed-off-by: Denys Vlasenko --- include/libbb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 515e995d0..ead1020dd 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -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; -- cgit v1.2.3