summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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