mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:11:40 +03:00
added #include <timeval.h> on Jrn's advice
added lastshow to the progress struct
This commit is contained in:
parent
8ed78f6c38
commit
f4898981b0
1 changed files with 3 additions and 0 deletions
|
|
@ -87,6 +87,7 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#include "timeval.h"
|
||||
|
||||
/* Download buffer size, keep it fairly big for speed reasons */
|
||||
#define BUFSIZE (1024*50)
|
||||
|
|
@ -96,6 +97,8 @@
|
|||
#define HEADERSIZE 256
|
||||
|
||||
struct Progress {
|
||||
long lastshow; /* time() of the last displayed progress meter or NULL to
|
||||
force redraw at next call */
|
||||
double size_dl;
|
||||
double size_ul;
|
||||
double downloaded;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue