Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed error message for incompatible 2.6.4 pre-release versions.
[rsync/rsync.git]
/
match.c
diff --git
a/match.c
b/match.c
index
f8c4de6
..
00a38aa
100644
(file)
--- a/
match.c
+++ b/
match.c
@@
-102,7
+102,7
@@
static OFF_T last_match;
* have only literal data.
**/
static void matched(int f, struct sum_struct *s, struct map_struct *buf,
* have only literal data.
**/
static void matched(int f, struct sum_struct *s, struct map_struct *buf,
- OFF_T offset, int i)
+ OFF_T offset, int
32
i)
{
int32 n = offset - last_match; /* max value: block_size (int32) */
int32 j;
{
int32 n = offset - last_match; /* max value: block_size (int32) */
int32 j;
@@
-133,12
+133,8
@@
static void matched(int f, struct sum_struct *s, struct map_struct *buf,
else
last_match = offset;
else
last_match = offset;
- if (buf && do_progress)
{
+ if (buf && do_progress)
show_progress(last_match, buf->file_size);
show_progress(last_match, buf->file_size);
-
- if (i == -1)
- end_progress(buf->file_size);
- }
}
}