diff options
author | damitha | 2010-07-07 06:59:04 +0000 |
---|---|---|
committer | damitha | 2010-07-07 06:59:04 +0000 |
commit | acb8eb4a501ebed4c8df090065689d76a15552f4 (patch) | |
tree | b64bf99cb71f2008af43ec68a255f540fd24050f /util/include/platforms/unix | |
parent | c0ecd385d8578a5a3107f10961290b5638f013a8 (diff) | |
download | axis2c-acb8eb4a501ebed4c8df090065689d76a15552f4.tar.gz axis2c-acb8eb4a501ebed4c8df090065689d76a15552f4.tar.bz2 |
jira AXIS2C-1472 and jira AXIS2C-1483
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@961258 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'util/include/platforms/unix')
-rw-r--r-- | util/include/platforms/unix/axutil_unix.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/util/include/platforms/unix/axutil_unix.h b/util/include/platforms/unix/axutil_unix.h index 3088d0d..7a5c084 100644 --- a/util/include/platforms/unix/axutil_unix.h +++ b/util/include/platforms/unix/axutil_unix.h @@ -262,7 +262,11 @@ extern "C" /** minizip functions */ #define axis2_fill_win32_filefunc(ffunc) -#define AXIS2_UNZOPEN2(zipfilename,ffunc) unzOpen2(zipfilename,NULL); memset(&ffunc, 0, sizeof(ffunc)); +#define AXIS2_UNZOPEN2(zipfilename, ffunc, uf) \ + { \ + uf = unzOpen2(zipfilename,NULL); \ + memset(&ffunc, 0, sizeof(ffunc)); \ + } /** * handling variable number of arguments (for log.c) |