1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Need brackets around macro args. Spotted by Patrick Welche <prlw1@newn.cam.ac.uk>.

Jeremy.
(This used to be commit 2b9d35cf3f)
This commit is contained in:
Jeremy Allison 2002-12-04 18:45:25 +00:00
parent 0694e965fb
commit f60f763a2d

View File

@ -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 */