summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-12-16 13:59:16 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-12-16 13:59:16 +0100
commit189a26c0444178612bf6e4618ccd9c722b83c261 (patch)
tree243d27b68a14ebcd2c7263a3492ace23542c5f13 /plugins
parentc5611012f9d82155d6017435b5cf52c0b4e31149 (diff)
parent371a8eec29fa25bbf58f4b1f0d7e3bf4c3ad6329 (diff)
downloadrsyslog-189a26c0444178612bf6e4618ccd9c722b83c261.tar.gz
rsyslog-189a26c0444178612bf6e4618ccd9c722b83c261.tar.xz
rsyslog-189a26c0444178612bf6e4618ccd9c722b83c261.zip
Merge branch 'v4-stable' into v5-stable
Conflicts: ChangeLog runtime/parser.c runtime/queue.c runtime/wtp.c template.c threads.c tools/syslogd.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 058b2cfa..ebaec011 100644
--- a/plugins/imklog/ksym.c
+++ b/plugins/imklog/ksym.c
@@ -651,8 +651,7 @@ static void FreeSymbols(void)
**************************************************************************/
extern char *ExpandKadds(char *line, char *el)
{
- auto char dlm,
- *kp,
+ auto char *kp,
*sl = line,
*elp = el,
*symbol;
@@ -782,7 +781,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);