From: Wayne Davison Date: Wed, 8 Jul 2020 21:17:01 +0000 (-0700) Subject: Must read the nsec val even w/o CAN_SET_NSEC. X-Git-Tag: v3.2.3pre1~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6da3c67f80e8e4a91998ca74292a4701e552894;p=thirdparty%2Frsync.git Must read the nsec val even w/o CAN_SET_NSEC. --- diff --git a/flist.c b/flist.c index c98e5759..39f942b0 100644 --- a/flist.c +++ b/flist.c @@ -807,8 +807,10 @@ static struct file_struct *recv_file_entry(int f, struct file_list *flist, int x } else modtime = read_int(f); } -#ifdef CAN_SET_NSEC if (xflags & XMIT_MOD_NSEC) +#ifndef CAN_SET_NSEC + (void)read_varint(f); +#else modtime_nsec = read_varint(f); else modtime_nsec = 0;