From 7014dc0572bd0e160c4ffb34a36abec23cd7c16b Mon Sep 17 00:00:00 2001 From: damitha Date: Thu, 25 Feb 2010 08:11:51 +0000 Subject: git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@916174 13f79535-47bb-0310-9956-ffa450edef68 --- samples/mtom_caching_callback/mtom_caching_callback.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'samples/mtom_caching_callback/mtom_caching_callback.c') 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 -- cgit v1.1-32-gdbae