Fix list-only output of dirs w/--relative but w/o --recursive.

This commit is contained in:
Wayne Davison committed 2007-10-07 03:29:04 +00:00
1 parent 14dfad3873
commit 983f647c7e
1 file changed
+1 -1
+1 -1
View File
@@ -1139,7 +1139,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
if (list_only) {
if (S_ISDIR(file->mode)
&& ((!implied_dirs && !(file->flags & FLAG_XFER_DIR))
&& ((relative_paths && !implied_dirs && !(file->flags & FLAG_XFER_DIR))
|| (inc_recurse && ndx != cur_flist->ndx_start - 1)))
return;
list_file_entry(file);