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:
1b01b29
)
*** empty log message ***
author
Andrew Tridgell
<tridge@samba.org>
Thu, 4 Jul 1996 13:56:53 +0000
(13:56 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 4 Jul 1996 13:56:53 +0000
(13:56 +0000)
match.c
patch
|
blob
|
blame
|
history
diff --git
a/match.c
b/match.c
index
5c78ce3
..
a1775b2
100644
(file)
--- a/
match.c
+++ b/
match.c
@@
-221,7
+221,7
@@
static void hash_search(int f,struct sum_struct *s,
/* Trim off the first byte from the checksum */
map = window_ptr(buf,offset,k+1);
- s1 -= map[0] +
1
;
+ s1 -= map[0] +
CHAR_OFFSET
;
s2 -= k * (map[0]+CHAR_OFFSET);
/* Add on the next byte (if there is one) to the checksum */