summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-12-16 13:00:27 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-12-16 13:00:27 +0100
commit4da2cbcae7d55a1a9877b3eee4cbce5bb2540a21 (patch)
tree70b8123a9d7d648fe007e8f6c01466e9b26fd4e1 /plugins
parentc4c20c18aae7c95c1e69c10d2ea9efbc3c2c1913 (diff)
parent371a8eec29fa25bbf58f4b1f0d7e3bf4c3ad6329 (diff)
downloadrsyslog-4da2cbcae7d55a1a9877b3eee4cbce5bb2540a21.tar.gz
rsyslog-4da2cbcae7d55a1a9877b3eee4cbce5bb2540a21.tar.xz
rsyslog-4da2cbcae7d55a1a9877b3eee4cbce5bb2540a21.zip
Merge branch 'v4-stable' into v4-devel
Conflicts: runtime/parser.c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/imklog/ksym.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/imklog/ksym.c b/plugins/imklog/ksym.c
index f636a7bb..ca708ba6 100644
--- a/plugins/imklog/ksym.c
+++ b/plugins/imklog/ksym.c
@@ -650,8 +650,7 @@ static void FreeSymbols(void)
**************************************************************************/
extern char *ExpandKadds(char *line, char *el)
{
- auto char dlm,
- *kp,
+ auto char *kp,
*sl = line,
*elp = el,
*symbol;
@@ -781,7 +780,6 @@ extern char *ExpandKadds(char *line, char *el)
strcpy(el, sl);
return(el);
}
- dlm = *kp;
strncpy(num,sl+1,kp-sl-1);
num[kp-sl-1] = '\0';
value = strtoul(num, (char **) 0, 16);