From: Andrew Tridgell Date: Thu, 4 Jul 1996 13:56:53 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/94a3ac55f6b6b2e6840546e2f5b72167380da7d5 *** empty log message *** --- diff --git a/match.c b/match.c index 5c78ce38..a1775b27 100644 --- 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 */