summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-13 07:22:45 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-13 07:22:45 +0000
commit93367e335719586cf2482eb2876c223509e6ecfc (patch)
tree7e7972cd6eec5efbc3b0861d9b4cebb97d5ef10d
parent0942a0da1369bd8f9f104d9d7b264ddbbff44d82 (diff)
downloadrsyslog-93367e335719586cf2482eb2876c223509e6ecfc.tar.gz
rsyslog-93367e335719586cf2482eb2876c223509e6ecfc.tar.xz
rsyslog-93367e335719586cf2482eb2876c223509e6ecfc.zip
fixed some bugs that prevented compile in debug mode
-rw-r--r--expr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/expr.c b/expr.c
index c21f91a5..448909d4 100644
--- a/expr.c
+++ b/expr.c
@@ -37,6 +37,8 @@
#include "config.h"
+#include <assert.h>
+
#include "rsyslog.h"
#include "template.h"
#include "stringbuf.h"
@@ -85,7 +87,7 @@ exprEval(expr_t *pThis, msg_t *pMsg)
{
DEFiRet;
- ISOBJ_TYPE_assert(pThis, expr);
+ //ISOBJ_TYPE_assert(pThis, expr);
RETiRet;
}
@@ -106,7 +108,7 @@ exprGetStr(expr_t *pThis, rsCStrObj **ppStr)
{
DEFiRet;
- ISOBJ_TYPE_assert(pThis, expr);
+ //ISOBJ_TYPE_assert(pThis, expr);
ASSERT(ppStr != NULL);
RETiRet;