Commit 876ad10c authored by Wayne Davison's avatar Wayne Davison

Fixed a crash if a non-incremental-recursion transfer has a

skipped file in a set of hard-links.
parent 34a2b391
......@@ -266,7 +266,8 @@ static char *check_prior(struct file_struct *file, int gnum,
F_HL_PREV(file) = prev_ndx = F_HL_PREV(fp);
}
if ((node = hashtable_find(prior_hlinks, gnum, 0)) != NULL) {
if (inc_recurse
&& (node = hashtable_find(prior_hlinks, gnum, 0)) != NULL) {
assert(node->data != NULL);
if (CVAL(node->data, 0) != 0) {
*prev_ndx_p = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment