summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAndre Lorbach <alorbach@adiscon.com>2011-08-18 15:46:33 +0200
committerAndre Lorbach <alorbach@adiscon.com>2011-08-18 15:46:33 +0200
commite14d353e69a75290c3e4004df79f42a22bfe4cab (patch)
tree7d74717632ca25ea585aa30df87d43c1e2f4af3d /tools
parent179a27d80d6c13625d5f9cee9b15acbd5fb33651 (diff)
parentc1108d7af1ca04b2c485bd87a8cbbf044ffde6fb (diff)
downloadrsyslog-e14d353e69a75290c3e4004df79f42a22bfe4cab.tar.gz
rsyslog-e14d353e69a75290c3e4004df79f42a22bfe4cab.tar.xz
rsyslog-e14d353e69a75290c3e4004df79f42a22bfe4cab.zip
Merge branch 'beta'
Conflicts: runtime/queue.c
Diffstat (limited to 'tools')
-rw-r--r--tools/pmrfc3164.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/pmrfc3164.c b/tools/pmrfc3164.c
index 635ca985..d56e53f0 100644
--- a/tools/pmrfc3164.c
+++ b/tools/pmrfc3164.c
@@ -176,6 +176,7 @@ CODESTARTparse
* in RFC3164...). We now receive the full size, but will modify the
* outputs so that only 32 characters max are used by default.
*/
+dbgprintf("pmrfc3164:tag:in: lenMsg %d, p2parse: '%s'\n", lenMsg, p2parse);
i = 0;
while(lenMsg > 0 && *p2parse != ':' && *p2parse != ' ' && i < CONF_TAG_MAXSIZE) {
bufParseTAG[i++] = *p2parse++;
@@ -191,6 +192,7 @@ CODESTARTparse
* is considered OK. So we do not need to check for empty TAG. -- rgerhards, 2009-06-23
*/
bufParseTAG[i] = '\0'; /* terminate string */
+dbgprintf("pmrfc3164:tag:done: lenMsg %d, i %d, bufParseTAG: '%s'\n", lenMsg, i, bufParseTAG);
MsgSetTAG(pMsg, bufParseTAG, i);
} else {/* we enter this code area when the user has instructed rsyslog NOT
* to parse HOSTNAME and TAG - rgerhards, 2006-03-13