summaryrefslogtreecommitdiff
path: root/flist.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-07-03 06:24:34 +0000
committerAndrew Tridgell <tridge@samba.org>1996-07-03 06:24:34 +0000
commitd89322c4467f4e393cdefb01cdb23f35b9394615 (patch)
tree4148b001508fd88d0e7dfbdfad3a1e878321ea05 /flist.c
parent5be59dc5b269a84ea529b7f97652e48077286696 (diff)
downloadrsync-d89322c4467f4e393cdefb01cdb23f35b9394615.tar.gz
- fixed file time bug
- doc updates
Diffstat (limited to 'flist.c')
-rw-r--r--flist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/flist.c b/flist.c
index 38569aa1..ed001a2b 100644
--- a/flist.c
+++ b/flist.c
@@ -110,7 +110,7 @@ void send_file_entry_v11(struct file_struct *file,int f)
if (l1 > 0) flags |= SAME_NAME;
if (l2 > 255) flags |= LONG_NAME;
-
+
write_byte(f,flags);
if (flags & SAME_NAME)
write_byte(f,l1);
@@ -165,7 +165,7 @@ void send_file_entry_v11(struct file_struct *file,int f)
void receive_file_entry_v11(struct file_struct *file,
unsigned char flags,int f)
{
- static mode_t last_time=0;
+ static time_t last_time=0;
static mode_t last_mode=0;
static dev_t last_rdev=0;
static uid_t last_uid=0;