git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26b8f6b
)
Patch from Steve Langasek <vorlon@netexpress.net> to use nice big integers when
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 3 Oct 2002 03:27:00 +0000
(
03:27
+0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 3 Oct 2002 03:27:00 +0000
(
03:27
+0000)
attempting to calculate the bytes/second being transferred. (Avoid overflow
etc)
Andrew Bartlett
(This used to be commit
cd41e5ab857a33e05fa231756ff15707f2f5ce23
)
source3/client/client.c
patch
|
blob
|
history
diff --git
a/source3/client/client.c
b/source3/client/client.c
index f25ed1623b0d96c865620a5ffecf90b9f2f86856..31c047c1c52b882c5411e4c547265bbbd18d0b3e 100644
(file)
--- 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;