diff options
author | Wayne Davison <wayned@samba.org> | 2010-06-26 08:54:57 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2010-06-26 08:54:57 -0700 |
commit | de32838ea21e826bb529e982d3a369b5cbd0d791 (patch) | |
tree | 9f2877aefd3bc31c452668dbfea992ecaca96cf1 /rsync.h | |
parent | ce571e64b6c4ab2947c05a21ebc254729933ea0c (diff) | |
download | rsync-de32838ea21e826bb529e982d3a369b5cbd0d791.tar.gz rsync-de32838ea21e826bb529e982d3a369b5cbd0d791.tar.bz2 rsync-de32838ea21e826bb529e982d3a369b5cbd0d791.zip |
Fix accessors F_LENGTH() and F_MOD_NSEC().
Diffstat (limited to 'rsync.h')
-rw-r--r-- | rsync.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -692,10 +692,10 @@ extern int xattrs_ndx; #define F_LENGTH(f) ((int64)(f)->len32) #else #define F_LENGTH(f) ((int64)(f)->len32 + ((f)->flags & FLAG_LENGTH64 \ - ? (int64)OPT_EXTRA(f, 0)->unum << 32 : 0)) + ? (int64)OPT_EXTRA(f, NSEC_BUMP(f))->unum << 32 : 0)) #endif -#define F_MOD_NSEC(f) ((f)->flags & FLAG_MOD_NSEC ? OPT_EXTRA(f, LEN64_BUMP(f))->unum : 0) +#define F_MOD_NSEC(f) ((f)->flags & FLAG_MOD_NSEC ? OPT_EXTRA(f, 0)->unum : 0) /* If there is a symlink string, it is always right after the basename */ #define F_SYMLINK(f) ((f)->basename + strlen((f)->basename) + 1) |