diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-10-03 03:27:00 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-10-03 03:27:00 +0000 |
commit | 3a5577e552d7723138ccd638848716659492133b (patch) | |
tree | 9eb920e65c1395413f727a7dd04af36be8119975 /source3/client | |
parent | 26b8f6bbeb567552f6a75469b0391c06dd87e1e1 (diff) | |
download | samba-3a5577e552d7723138ccd638848716659492133b.tar.gz samba-3a5577e552d7723138ccd638848716659492133b.tar.bz2 samba-3a5577e552d7723138ccd638848716659492133b.zip |
Patch from Steve Langasek <vorlon@netexpress.net> to use nice big integers when
attempting to calculate the bytes/second being transferred. (Avoid overflow
etc)
Andrew Bartlett
(This used to be commit cd41e5ab857a33e05fa231756ff15707f2f5ce23)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index f25ed1623b..31c047c1c5 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -94,10 +94,10 @@ static pstring fileselection = ""; extern file_info def_finfo; /* timing globals */ -int get_total_size = 0; -int get_total_time_ms = 0; -static int put_total_size = 0; -static int put_total_time_ms = 0; +SMB_BIG_UINT get_total_size = 0; +unsigned int get_total_time_ms = 0; +static SMB_BIG_UINT put_total_size = 0; +static unsigned int put_total_time_ms = 0; /* totals globals */ static double dir_total; |