diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-04 18:44:21 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-04 18:44:21 +0000 |
commit | a6a0b156bda06ee7f5b513f8d5becaf2b5e68c18 (patch) | |
tree | 85c82ea8a41a724c78b984de5976ecc0da871cd8 /source3/smbd | |
parent | 64c967919145209a81863b425d3b66b636283c0c (diff) | |
download | samba-a6a0b156bda06ee7f5b513f8d5becaf2b5e68c18.tar.gz samba-a6a0b156bda06ee7f5b513f8d5becaf2b5e68c18.tar.bz2 samba-a6a0b156bda06ee7f5b513f8d5becaf2b5e68c18.zip |
Need brackets around macro args. Spotted by Patrick Welche <prlw1@newn.cam.ac.uk>.
Jeremy.
(This used to be commit 51c2cf3a9ccf0bf89520588530e04b965ae509f7)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index cd15a8f6fd..d83596d68f 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -29,7 +29,7 @@ extern fstring local_machine; extern int global_oplock_break; extern uint32 global_client_caps; -#define get_file_size(sbuf) (sbuf.st_size) +#define get_file_size(sbuf) ((sbuf).st_size) /* given a stat buffer return the allocated size on disk, taking into account sparse files */ |