summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/include/axutil_utils.h4
-rw-r--r--util/src/qname.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/util/include/axutil_utils.h b/util/include/axutil_utils.h
index 8c156d1..1cef523 100644
--- a/util/include/axutil_utils.h
+++ b/util/include/axutil_utils.h
@@ -24,6 +24,7 @@
#include <axutil_env.h>
#include <axutil_date_time.h>
#include <axutil_base64_binary.h>
+#include <assert.h>
#ifdef __cplusplus
extern "C"
@@ -43,6 +44,9 @@ extern "C"
#define AXUTIL_LOG_FILE_SIZE 1024 * 1024 * 32
#define AXUTIL_LOG_FILE_NAME_SIZE 512
+
+#define AXIS2_ASSERT assert
+
/** This macro is called to check whether structure on which function is called
* is NULL and to check whether the environment structure passed is valid.
* @param object structure on which function is called
diff --git a/util/src/qname.c b/util/src/qname.c
index e4197c3..49b2069 100644
--- a/util/src/qname.c
+++ b/util/src/qname.c
@@ -119,7 +119,6 @@ axutil_qname_free(
axutil_qname_t *qname,
const axutil_env_t *env)
{
- AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
qname->ref--;