summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-02-22 14:25:56 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-02-22 14:25:56 +0100
commitaf5fb078d48b364b20adf7e56e9869664e7424f9 (patch)
treedb487cd4783d23107f898dd9d405d1592d4b70dd /runtime/rsyslog.h
parentc577e9c64cec0eebf6b7c3bd964354ab90c045ae (diff)
downloadrsyslog-af5fb078d48b364b20adf7e56e9869664e7424f9.tar.gz
rsyslog-af5fb078d48b364b20adf7e56e9869664e7424f9.tar.xz
rsyslog-af5fb078d48b364b20adf7e56e9869664e7424f9.zip
message parser fixes and testbench enhancements
- improved testbench to contain samples for totally malformed messages which miss parts of the message content - bugfix: some malformed messages could lead to a missing LF inside files or some other missing parts of the template content. - bugfix: if a message ended immediately with a hostname, the hostname was mistakenly interpreted as TAG, and localhost be used as hostname
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r--runtime/rsyslog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 27bea6bc..0f489a7f 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -35,7 +35,7 @@
* value to the fixed size of the message object.
*/
#define CONF_TAG_MAXSIZE 512 /* a value that is deemed far too large for any valid TAG */
-#define CONF_TAG_HOSTNAME 512 /* a value that is deemed far too large for any valid HOSTNAME */
+#define CONF_HOSTNAME_MAXSIZE 512 /* a value that is deemed far too large for any valid HOSTNAME */
#define CONF_RAWMSG_BUFSIZE 101
#define CONF_TAG_BUFSIZE 32
#define CONF_HOSTNAME_BUFSIZE 32