Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cacd47
)
The count of chunks should really be an int32, not a size_t,
author
Wayne Davison
<wayned@samba.org>
Mon, 14 Feb 2005 08:13:47 +0000
(08:13 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 14 Feb 2005 08:13:47 +0000
(08:13 +0000)
because that's the maximum size we can transmit over the wire.
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
488b401
..
49034ac
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-533,7
+533,7
@@
struct sum_buf {
struct sum_struct {
OFF_T flength; /**< total file length */
struct sum_buf *sums; /**< points to info for each chunk */
-
size_t count;
/**< how many chunks */
+
int32 count;
/**< how many chunks */
int32 blength; /**< block_length */
int32 remainder; /**< flength % block_length */
int s2length; /**< sum2_length */