diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-12-31 17:30:02 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-12-31 17:30:02 +0100 |
commit | 82d1c1f84ae23793d81b50aa0a753ad7c4db4f51 (patch) | |
tree | e5c1dc00b04299cf627cf2ef18453aea96c5f1e5 /networking | |
parent | 36acc4631c94bb0f43ecaac5d61dc773ef773e91 (diff) | |
download | busybox-w32-82d1c1f84ae23793d81b50aa0a753ad7c4db4f51.tar.gz busybox-w32-82d1c1f84ae23793d81b50aa0a753ad7c4db4f51.tar.bz2 busybox-w32-82d1c1f84ae23793d81b50aa0a753ad7c4db4f51.zip |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/tftp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index 73a9829aa..4cd39186a 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -208,7 +208,7 @@ struct globals { | |||
208 | #define G_error_pkt_reason (G.error_pkt[3]) | 208 | #define G_error_pkt_reason (G.error_pkt[3]) |
209 | #define G_error_pkt_str ((char*)(G.error_pkt + 4)) | 209 | #define G_error_pkt_str ((char*)(G.error_pkt + 4)) |
210 | 210 | ||
211 | #if ENABLE_FEATURE_TFTP_PROGRESS_BAR | 211 | #if ENABLE_FEATURE_TFTP_PROGRESS_BAR && ENABLE_FEATURE_TFTP_BLOCKSIZE |
212 | static void tftp_progress_update(void) | 212 | static void tftp_progress_update(void) |
213 | { | 213 | { |
214 | bb_progress_update(&G.pmt, 0, G.pos, G.size); | 214 | bb_progress_update(&G.pmt, 0, G.pos, G.size); |
@@ -227,6 +227,7 @@ static void tftp_progress_done(void) | |||
227 | } | 227 | } |
228 | } | 228 | } |
229 | #else | 229 | #else |
230 | # define tftp_progress_update() ((void)0) | ||
230 | # define tftp_progress_init() ((void)0) | 231 | # define tftp_progress_init() ((void)0) |
231 | # define tftp_progress_done() ((void)0) | 232 | # define tftp_progress_done() ((void)0) |
232 | #endif | 233 | #endif |