diff options
author | Mark Whitley <markw@lineo.com> | 2001-01-23 22:30:04 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-01-23 22:30:04 +0000 |
commit | 59ab025363d884deb2013dcaae6c968585a6ec72 (patch) | |
tree | 852d97bdc34c44dbcf29cc8b5cd9257a8c90f7b3 /networking/wget.c | |
parent | 2b8d07c590249991fae975652aae86f5fca91f81 (diff) | |
download | busybox-w32-59ab025363d884deb2013dcaae6c968585a6ec72.tar.gz busybox-w32-59ab025363d884deb2013dcaae6c968585a6ec72.tar.bz2 busybox-w32-59ab025363d884deb2013dcaae6c968585a6ec72.zip |
#define -> static const int. Also got rid of some big static buffers.
Diffstat (limited to 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c index a5c3e7baf..e3e6eed79 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -49,7 +49,7 @@ static char *curfile; /* Name of current file being transferred. */ | |||
49 | static struct timeval start; /* Time a transfer started. */ | 49 | static struct timeval start; /* Time a transfer started. */ |
50 | volatile unsigned long statbytes; /* Number of bytes transferred so far. */ | 50 | volatile unsigned long statbytes; /* Number of bytes transferred so far. */ |
51 | /* For progressmeter() -- number of seconds before xfer considered "stalled" */ | 51 | /* For progressmeter() -- number of seconds before xfer considered "stalled" */ |
52 | #define STALLTIME 5 | 52 | static const int STALLTIME = 5; |
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | int wget_main(int argc, char **argv) | 55 | int wget_main(int argc, char **argv) |
@@ -515,7 +515,7 @@ progressmeter(int flag) | |||
515 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 515 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
516 | * SUCH DAMAGE. | 516 | * SUCH DAMAGE. |
517 | * | 517 | * |
518 | * $Id: wget.c,v 1.17 2001/01/22 22:48:42 andersen Exp $ | 518 | * $Id: wget.c,v 1.18 2001/01/23 22:30:04 markw Exp $ |
519 | */ | 519 | */ |
520 | 520 | ||
521 | 521 | ||