Must read the nsec val even w/o CAN_SET_NSEC.
authorWayne Davison <wayne@opencoder.net>
Wed, 8 Jul 2020 21:17:01 +0000 (14:17 -0700)
committerWayne Davison <wayne@opencoder.net>
Wed, 8 Jul 2020 21:17:01 +0000 (14:17 -0700)
flist.c

diff --git a/flist.c b/flist.c
index c98e57594325db833f9df14b4f6a84b3716f089e..39f942b05f2c9a6bd59b22bb846d23b85f82087d 100644 (file)
--- 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;