X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/0438f100ae1f376ae399197b0c817891d9558c29..96b7b48efa86bf3fa164d85532dc8bf520d80531:/generator.c diff --git a/generator.c b/generator.c index d4680d3d..92954d4f 100644 --- a/generator.c +++ b/generator.c @@ -337,8 +337,6 @@ void itemize(struct file_struct *file, int ndx, int statret, STRUCT_STAT *st, if ((iflags & SIGNIFICANT_ITEM_FLAGS || verbose > 1 || (xname && *xname)) && !read_batch) { if (protocol_version >= 29) { - if (iflags & (ITEM_LOCAL_CHANGE|ITEM_TRANSFER))/* XXX */ - iflags |= ITEM_DUMMY_BIT; /* XXX Remove soon */ if (ndx >= 0) write_int(sock_f_out, ndx); write_shortint(sock_f_out, iflags); @@ -507,7 +505,7 @@ static int find_fuzzy(struct file_struct *file, struct file_list *dirlist) { int fname_len, fname_suf_len; const char *fname_suf, *fname = file->basename; - uint32 lowest_dist = 0x7FFFFFFF; + uint32 lowest_dist = 25 << 16; /* ignore a distance greater than 25 */ int j, lowest_j = -1; fname_len = strlen(fname);