Commit eb67a690 authored by Wayne Davison's avatar Wayne Davison

Don't try to process hard-link data in list-only mode.

parent 9217ce30
......@@ -24,6 +24,7 @@
extern int verbose;
extern int dry_run;
extern int list_only;
extern int am_sender;
extern int inc_recurse;
extern int do_xfers;
......@@ -174,6 +175,7 @@ static void match_gnums(int32 *ndx_list, int ndx_count)
* to first when we're done. */
void match_hard_links(struct file_list *flist)
{
if (!list_only) {
int i, ndx_count = 0;
int32 *ndx_list;
......@@ -191,6 +193,7 @@ void match_hard_links(struct file_list *flist)
match_gnums(ndx_list, ndx_count);
free(ndx_list);
}
if (protocol_version < 30)
idev_destroy();
}
......
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