summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-05 23:38:54 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-05 23:38:54 +0100
commitcbcc1236f806f18e6386e6e1f495a9832b7d307d (patch)
tree57679535a2d1ac60a6f2b3a21dc6afa9028b0cc0 /include
parent4b1100edd8180efa2e81860ef2fadeebcb21f5fa (diff)
tftp: do not show progress bar if we get error right away. +13 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
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;