From ad0f35124a5bd44628e2fc1a70166fedb24482e8 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 28 Feb 2008 16:01:36 +0000 Subject: bugfix: removed debugging code that I forgot to remove before releasing 3.12.0 (does not cause harm and happened only during startup) --- ChangeLog | 4 ++++ conf.c | 17 ----------------- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index fd126243..29f0decc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ --------------------------------------------------------------------------- +Version 3.12.1 (rgerhards), 2008-0?-?? +- bugfix: removed debugging code that I forgot to remove before releasing + 3.12.0 (does not cause harm and happened only during startup) +--------------------------------------------------------------------------- Version 3.12.0 (rgerhards), 2008-02-28 - added full expression support for filters; filters can now contain arbitrary complex boolean, string and arithmetic expressions diff --git a/conf.c b/conf.c index d2d1fbcf..1229f1c4 100644 --- a/conf.c +++ b/conf.c @@ -799,23 +799,6 @@ dbgprintf("calling expression parser, pp %p ('%s')\n", *pline, *pline); while(isspace(**pline)) ++(*pline); -dbgprintf("expression parser successfully ended, pp %p ('%s')\n", *pline, *pline); - -/* debug aid, try to exec - just now for testing the vm... -- rgerhards, 2008-02-25 */ -vm_t *pVM; -var_t *pResult; -CHKiRet(vm.Construct(&pVM)); -CHKiRet(vm.ConstructFinalize(pVM)); - -CHKiRet(vm.ExecProg(pVM, f->f_filterData.f_expr->pVmprg)); -CHKiRet(vm.PopVarFromStack(pVM, &pResult)); -dbgprintf("result of expression run:\n"); -var.DebugPrint(pResult); - -CHKiRet(vm.Destruct(&pVM)); -/* ...end testing aid... */ - - finalize_it: RUNLOG_VAR("%d", iRet); if(iRet == RS_RET_SYNTAX_ERROR) { -- cgit v1.2.3