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:
Valient Gough 2011-12-28 23:35:42 +00:00
parent dda1f2b15c
commit 478cc1c90f

View File

@ -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 )