diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-08-25 15:55:57 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-08-25 15:55:57 +0200 |
commit | 1164429974dcd71ef59dededd3fec54162d919dd (patch) | |
tree | 7fcf23ec418edc8805524e8a9d16f08242b89f1a /runtime | |
parent | 8c125325cf239d7303e0f479b284fd1f59c223f7 (diff) | |
download | rsyslog-1164429974dcd71ef59dededd3fec54162d919dd.tar.gz rsyslog-1164429974dcd71ef59dededd3fec54162d919dd.tar.xz rsyslog-1164429974dcd71ef59dededd3fec54162d919dd.zip |
bugfix: invalid double-quoted PRI, among others in outgoing messages
This causes grief with all receivers.
Bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=147
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/msg.c b/runtime/msg.c index 22f81f5d..e26fe5ee 100644 --- a/runtime/msg.c +++ b/runtime/msg.c @@ -751,7 +751,7 @@ static inline char *getPRI(msg_t *pM) */ MsgLock(pM); if(pM->bufPRI[0] == '\0') { - snprintf((char*)pM->bufPRI, sizeof(pM->bufPRI), "<%d>", getPRIi(pM)); + snprintf((char*)pM->bufPRI, sizeof(pM->bufPRI), "%d", getPRIi(pM)); } MsgUnlock(pM); |