/* we've found a match, but now check to see
if last_i can hint at a better match */
/* we've found a match, but now check to see
if last_i can hint at a better match */
match. The 3 reads are caused by the
running match, the checksum update and the
literal send. */
match. The 3 reads are caused by the
running match, the checksum update and the
literal send. */
(end-offset > CHUNK_SIZE)) {
matched(f,s,buf,offset - s->n, -2);
}
(end-offset > CHUNK_SIZE)) {
matched(f,s,buf,offset - s->n, -2);
}
void match_sums(int f,struct sum_struct *s,struct map_struct *buf,OFF_T len)
{
char file_sum[MD4_SUM_LENGTH];
void match_sums(int f,struct sum_struct *s,struct map_struct *buf,OFF_T len)
{
char file_sum[MD4_SUM_LENGTH];
if (verbose > 2)
rprintf(FINFO,"sending file_sum\n");
write_buf(f,file_sum,MD4_SUM_LENGTH);
if (verbose > 2)
rprintf(FINFO,"sending file_sum\n");
write_buf(f,file_sum,MD4_SUM_LENGTH);