Deleted Added
full compact
26c26
< RCSID("$OpenBSD: progressmeter.c,v 1.19 2004/02/05 15:33:33 markus Exp $");
---
> RCSID("$OpenBSD: progressmeter.c,v 1.22 2004/07/11 17:48:47 deraadt Exp $");
51,55c51,55
< static time_t start; /* start progress */
< static time_t last_update; /* last progress update */
< static char *file; /* name of the file being transferred */
< static off_t end_pos; /* ending position of transfer */
< static off_t cur_pos; /* transfer position as of last refresh */
---
> static time_t start; /* start progress */
> static time_t last_update; /* last progress update */
> static char *file; /* name of the file being transferred */
> static off_t end_pos; /* ending position of transfer */
> static off_t cur_pos; /* transfer position as of last refresh */
57,59c57,59
< static long stalled; /* how long we have been stalled */
< static int bytes_per_second; /* current speed in bytes per second */
< static int win_size; /* terminal window size */
---
> static long stalled; /* how long we have been stalled */
> static int bytes_per_second; /* current speed in bytes per second */
> static int win_size; /* terminal window size */
170c170
< bytes_per_second);
---
> (off_t)bytes_per_second);
227c227
< start_progress_meter(char *f, off_t filesize, off_t *stat)
---
> start_progress_meter(char *f, off_t filesize, off_t *ctr)
235c235
< counter = stat;
---
> counter = ctr;