summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-03 22:21:04 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-03 22:21:04 (GMT)
commita0c095d420e07243af929f92e469d392e9ae26ba (patch)
treef38738f7766948f629d6ed599e50afc02115bcd6 /Utilities
parent2d7b46f621cb2ce4685f3e31727d8977cdd3819a (diff)
downloadCMake-a0c095d420e07243af929f92e469d392e9ae26ba.zip
CMake-a0c095d420e07243af929f92e469d392e9ae26ba.tar.gz
CMake-a0c095d420e07243af929f92e469d392e9ae26ba.tar.bz2
COMP: Ok, remove warnings because of removal of warnings
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc.h b/Utilities/cmxmlrpc/xmlrpc.h
index aa4f136..69160a2 100644
--- a/Utilities/cmxmlrpc/xmlrpc.h
+++ b/Utilities/cmxmlrpc/xmlrpc.h
@@ -208,25 +208,25 @@ xmlrpc_env_set_fault_formatted (xmlrpc_env * const envP,
/* This version must *not* interpret 'str' as a format string, to avoid
** several evil attacks. */
#define XMLRPC_FAIL(env,code,str) \
- do { xmlrpc_env_set_fault((env),(code),(str)); if (str) goto cleanup; } while (0)
+ do { xmlrpc_env_set_fault((env),(code),(str)); if(*(str)) goto cleanup; } while (0)
#define XMLRPC_FAIL1(env,code,str,arg1) \
do { \
xmlrpc_env_set_fault_formatted((env),(code),(str),(arg1)); \
- if (str) goto cleanup; \
+ if(*(str)) goto cleanup; \
} while (0)
#define XMLRPC_FAIL2(env,code,str,arg1,arg2) \
do { \
xmlrpc_env_set_fault_formatted((env),(code),(str),(arg1),(arg2)); \
- if (str) goto cleanup; \
+ if(*(str)) goto cleanup; \
} while (0)
#define XMLRPC_FAIL3(env,code,str,arg1,arg2,arg3) \
do { \
xmlrpc_env_set_fault_formatted((env),(code), \
(str),(arg1),(arg2),(arg3)); \
- if (str) goto cleanup; \
+ if(*(str)) goto cleanup; \
} while (0)
#define XMLRPC_FAIL_IF_NULL(ptr,env,code,str) \