Displaying 1 result from an estimated 1 matches for "max_delta_po".
Did you mean:
max_delta_pos
2007 Nov 09
1
Patch for progressmeter.c
...e; /* 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 volatile off_t *counter; /* progress counter */
+static off_t last_pos;
+static off_t max_delta_pos = 0;
+static volatile off_t *counter; /* progress counter */
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 */
@@ -128,11 +130,16 @@ refresh_progr...