summaryrefslogtreecommitdiffstats
path: root/template.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-18 17:48:11 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-18 17:48:11 +0200
commitf33dd51c802a8d49839aa73fb9167d8bc31ea912 (patch)
treee9ab40604c50449f46c2af724858bcc245b234f6 /template.c
parent2de4964affabc1ccf61bc72426a468fc871a54d0 (diff)
downloadrsyslog-f33dd51c802a8d49839aa73fb9167d8bc31ea912.tar.gz
rsyslog-f33dd51c802a8d49839aa73fb9167d8bc31ea912.tar.xz
rsyslog-f33dd51c802a8d49839aa73fb9167d8bc31ea912.zip
fixed abort condition with oversize tags
this was a regression I introduced this afternoon
Diffstat (limited to 'template.c')
-rw-r--r--template.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/template.c b/template.c
index aacd4dbd..93d0539c 100644
--- a/template.c
+++ b/template.c
@@ -571,6 +571,7 @@ static int do_Parameter(unsigned char **pp, struct template *pTpl)
cstrFinalize(pStrB);
if(cstrConvSzStrAndDestruct(pStrB, &pTpe->data.field.pPropRepl, 0) != RS_RET_OK)
return 1;
+// TODO: another optimization: map name to integer id OPT
/* Check frompos, if it has an R, then topos should be a regex */
if(*p == ':') {