mirror of
https://github.com/vgough/encfs.git
synced 2024-12-25 16:18:47 +01:00
wrap PUSHARG macro for correctness. Report by Pedro Rocha
git-svn-id: http://encfs.googlecode.com/svn/trunk@72 db9cf616-1c43-0410-9cb8-a902689de0d6
This commit is contained in:
parent
dda1f2b15c
commit
478cc1c90f
@ -170,9 +170,9 @@ void FuseUsage()
|
||||
fuse_main( argc, const_cast<char**>(argv), (fuse_operations*)NULL, NULL);
|
||||
}
|
||||
|
||||
#define PUSHARG(ARG) \
|
||||
#define PUSHARG(ARG) do { \
|
||||
rAssert(out->fuseArgc < MaxFuseArgs); \
|
||||
out->fuseArgv[out->fuseArgc++] = ARG
|
||||
out->fuseArgv[out->fuseArgc++] = (ARG); } while(0)
|
||||
|
||||
static
|
||||
string slashTerminate( const string &src )
|
||||
|
Loading…
Reference in New Issue
Block a user