From: Wayne Davison Date: Thu, 22 Jan 2004 18:39:32 +0000 (+0000) Subject: When setting an flist entry's flags, mask it with LIVE_FLAGS. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/f3219222143e652688387d2da2f079ea09accd45 When setting an flist entry's flags, mask it with LIVE_FLAGS. --- diff --git a/flist.c b/flist.c index 1ef1617a..9f86521e 100644 --- a/flist.c +++ b/flist.c @@ -603,7 +603,7 @@ void receive_file_entry(struct file_struct **fptr, unsigned short flags, int f) if (!file->basename) out_of_memory("receive_file_entry 1"); - file->flags = flags; + file->flags = flags & LIVE_FLAGS; file->length = read_longint(f); if (!(flags & SAME_TIME)) modtime = (time_t)read_int(f);