summaryrefslogtreecommitdiffstats
path: root/grammar/rainerscript.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-08-26 18:41:59 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-08-26 18:41:59 +0200
commita5abbddb5c04b95a6e51a93f71516cee280c54c4 (patch)
treefe311745f404bd38dfa3d316255182081b34d97c /grammar/rainerscript.c
parenta508691d7080b91060858f8a739c7df4f1813b2d (diff)
downloadrsyslog-a5abbddb5c04b95a6e51a93f71516cee280c54c4.tar.gz
rsyslog-a5abbddb5c04b95a6e51a93f71516cee280c54c4.tar.bz2
rsyslog-a5abbddb5c04b95a6e51a93f71516cee280c54c4.zip
bugfix: imtcp addtlframedelimiter could not be set to zero
Thanks to Chris Norton for alerting us.
Diffstat (limited to 'grammar/rainerscript.c')
-rw-r--r--grammar/rainerscript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar/rainerscript.c b/grammar/rainerscript.c
index 0f0b469c..2b8d600d 100644
--- a/grammar/rainerscript.c
+++ b/grammar/rainerscript.c
@@ -854,7 +854,7 @@ nvlstGetParam(struct nvlst *valnode, struct cnfparamdescr *param,
r = doGetInt(valnode, param, val);
break;
case eCmdHdlrNonNegInt:
- r = doGetPositiveInt(valnode, param, val);
+ r = doGetNonNegInt(valnode, param, val);
break;
case eCmdHdlrPositiveInt:
r = doGetPositiveInt(valnode, param, val);