From: Wayne Davison Date: Mon, 3 May 2004 01:24:10 +0000 (+0000) Subject: A slight refinement to my last patch. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/93272700d2eb85320ddf67f3bc1281dbe402f9f9 A slight refinement to my last patch. --- diff --git a/flist.c b/flist.c index 7c39e538..35bbed1f 100644 --- a/flist.c +++ b/flist.c @@ -539,12 +539,10 @@ void receive_file_entry(struct file_struct **fptr, unsigned short flags, rdev_major = 0; uid = 0, gid = 0; *lastname = '\0'; + lastdir_len = -1; return; } - if (!flist || !flist->count) /* Ignore lastdir when invalid. */ - lastdir_len = -1; - if (flags & XMIT_SAME_NAME) l1 = read_byte(f);