summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorGravatar damitha2010-02-25 08:11:51 +0000
committerGravatar damitha2010-02-25 08:11:51 +0000
commit7014dc0572bd0e160c4ffb34a36abec23cd7c16b (patch)
tree6195495f95336974a4782434f407a6339ec25d7d /samples
parent9ee84ad2acea14dd6d8e94768196932e53d7a245 (diff)
downloadaxis2c-7014dc0572bd0e160c4ffb34a36abec23cd7c16b.tar.gz
axis2c-7014dc0572bd0e160c4ffb34a36abec23cd7c16b.tar.bz2
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@916174 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'samples')
-rw-r--r--samples/mtom_caching_callback/mtom_caching_callback.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/mtom_caching_callback/mtom_caching_callback.c b/samples/mtom_caching_callback/mtom_caching_callback.c
index 03ee358..2a4ff01 100644
--- a/samples/mtom_caching_callback/mtom_caching_callback.c
+++ b/samples/mtom_caching_callback/mtom_caching_callback.c
@@ -79,9 +79,10 @@ caching_callback_init_handler(axiom_mtom_caching_callback_t *caching_callback,
#if !defined(WIN32)
{
+ int ret = 0;
axis2_char_t permission_str[256];
sprintf(permission_str, "chmod 777 %s", file_name);
- system(permission_str);
+ ret = system(permission_str);
}
#endif