From 1164429974dcd71ef59dededd3fec54162d919dd Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 25 Aug 2009 15:55:57 +0200 Subject: 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 --- runtime/msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/msg.c') 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); -- cgit v1.2.3