summaryrefslogtreecommitdiffstats
path: root/template.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-10-19 09:41:45 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-10-19 09:41:45 +0200
commit90e8475260cf8ac54519b3d964d879489af879f6 (patch)
treecf072344f5a41b2485f6ad320c408d4f5fe0d903 /template.c
parenta4344f350151cdb9172897709fa08680ec8587ba (diff)
downloadrsyslog-90e8475260cf8ac54519b3d964d879489af879f6.tar.gz
rsyslog-90e8475260cf8ac54519b3d964d879489af879f6.tar.xz
rsyslog-90e8475260cf8ac54519b3d964d879489af879f6.zip
bugfix: message processing states were not set correctly in all cases
however, this had no negative effect, as the message processing state was not evaluated when a batch was deleted, and that was the only case where the state could be wrong.
Diffstat (limited to 'template.c')
-rw-r--r--template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.c b/template.c
index 1e0c9613..f002ced4 100644
--- a/template.c
+++ b/template.c
@@ -121,7 +121,7 @@ propid = pTpe->data.field.propid;
doSQLEscape(&pVal, &iLenVal, &bMustBeFreed, 0);
}
/* got source, now copy over */
-dbgprintf("copying prop id %3d (entry type %d) of length %d ('%s')\n", propid, pTpe->eEntryType, (int) iLenVal, pVal);
+//dbgprintf("copying prop id %3d (entry type %d) of length %d ('%s')\n", propid, pTpe->eEntryType, (int) iLenVal, pVal);
if(iBuf + iLenVal >= *pLenBuf) /* we reserve one char for the final \0! */
CHKiRet(ExtendBuf(ppBuf, pLenBuf, iBuf + iLenVal + 1));