summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-04 18:45:25 +0000
committerJeremy Allison <jra@samba.org>2002-12-04 18:45:25 +0000
commitf60f763a2dddaa6ab355c66dc2f86831b36dd278 (patch)
tree474eebd9f79733dc5509bd17fc81997ae03c368d /source3
parent0694e965fbf75184a78ba8745b19b569e1ffe918 (diff)
downloadsamba-f60f763a2dddaa6ab355c66dc2f86831b36dd278.tar.gz
samba-f60f763a2dddaa6ab355c66dc2f86831b36dd278.tar.bz2
samba-f60f763a2dddaa6ab355c66dc2f86831b36dd278.zip
Need brackets around macro args. Spotted by Patrick Welche <prlw1@newn.cam.ac.uk>.
Jeremy. (This used to be commit 2b9d35cf3f91e9488a55e0a73150d4c18b998afe)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c2
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 */