diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2005-10-25 13:34:14 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2005-10-25 13:34:14 +0000 |
commit | 090627b79c1e801bc11c706f62628c7517dd3596 (patch) | |
tree | a1a4098f6a4efe7ba4a97e9e51e723c6abdd21dd /template.c | |
parent | b2887a236458af9c4faace7bbc2fa1921d8e7bee (diff) | |
download | rsyslog-090627b79c1e801bc11c706f62628c7517dd3596.tar.gz rsyslog-090627b79c1e801bc11c706f62628c7517dd3596.tar.bz2 rsyslog-090627b79c1e801bc11c706f62628c7517dd3596.zip |
fixed some issues with TCP sender
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -333,6 +333,7 @@ static int do_Parameter(char **pp, struct template *pTpl) /* Get the regex string for compiling later */ strncpy(regex_char, p, longitud); + regex_char[longitud] = '\0'; dprintf("debug: regex detected: '%s'\n", regex_char); |