summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-10-01 17:00:07 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-10-01 17:00:07 +0200
commitd33a48656094bde5f190abb15588a6e5b930b6eb (patch)
treeac58edb9f7225021eed362e51b478c8fb43ad01d /tools
parent176f773a2e7d29d45e06980e684d293fa3352d72 (diff)
parentcb9761627630dc8aeafbbfcfe091f87b66b5a92a (diff)
downloadrsyslog-d33a48656094bde5f190abb15588a6e5b930b6eb.tar.gz
rsyslog-d33a48656094bde5f190abb15588a6e5b930b6eb.tar.xz
rsyslog-d33a48656094bde5f190abb15588a6e5b930b6eb.zip
Merge branch 'v4-stable' into v4-beta
Conflicts: runtime/rsyslog.h tools/syslogd.c
Diffstat (limited to 'tools')
-rw-r--r--tools/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index 2e6de66c..512412da 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -1095,7 +1095,7 @@ int parseRFCSyslogMsg(msg_t *pMsg, int flags)
assert(pMsg != NULL);
assert(pMsg->pszRawMsg != NULL);
p2parse = pMsg->pszRawMsg + pMsg->offAfterPRI; /* point to start of text, after PRI */
- lenMsg = pMsg->iLenRawMsg - (pMsg->offAfterPRI);
+ lenMsg = pMsg->iLenRawMsg - pMsg->offAfterPRI;
/* do a sanity check on the version and eat it (the caller checked this already) */
assert(p2parse[0] == '1' && p2parse[1] == ' ');