#define -> static const int. Also got rid of some big static buffers.

This commit is contained in:
Mark Whitley
2001-01-23 22:30:04 +00:00
parent 2b8d07c590
commit 59ab025363
74 changed files with 670 additions and 620 deletions

4
wget.c
View File

@@ -49,7 +49,7 @@ static char *curfile; /* Name of current file being transferred. */
static struct timeval start; /* Time a transfer started. */
volatile unsigned long statbytes; /* Number of bytes transferred so far. */
/* For progressmeter() -- number of seconds before xfer considered "stalled" */
#define STALLTIME 5
static const int STALLTIME = 5;
#endif
int wget_main(int argc, char **argv)
@@ -515,7 +515,7 @@ progressmeter(int flag)
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: wget.c,v 1.17 2001/01/22 22:48:42 andersen Exp $
* $Id: wget.c,v 1.18 2001/01/23 22:30:04 markw Exp $
*/