Add the file size to the file info struct.

This commit is contained in:
Andreas Schneider 2008-05-16 17:30:22 +02:00
parent cfd587a260
commit 84bb336e8e
2 changed files with 2 additions and 0 deletions

View file

@ -134,6 +134,7 @@ typedef struct csync_file_stat_s {
uid_t uid;
gid_t gid;
mode_t mode;
off_t size;
int nlink;
time_t modtime;
int type;

View file

@ -126,6 +126,7 @@ out:
SAFE_FREE(tmp);
st->inode = fs->inode;
st->mode = fs->mode;
st->size = fs->size;
st->modtime = fs->mtime;
st->uid = fs->uid;
st->gid = fs->gid;