mirror of
https://github.com/rsyslog/rsyslog.git
synced 2026-06-19 03:32:57 +02:00
bugfix: property PROCID was empty instead of proper nilvalue if not present
If it is not present, it must have the nilvalue "-" as of RFC5424 closes: http://bugzilla.adiscon.com/show_bug.cgi?id=332 Thanks to John N for reporting this issue.
This commit is contained in:
parent
290f41f947
commit
ff7b1382fa
@ -36,6 +36,10 @@ Version 5.8.12 [V5-stable] 2012-05-??
|
||||
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=316
|
||||
Thanks to Andreas Piesk for reporting&analyzing this bug as well as
|
||||
providing patches and other help in resolving it.
|
||||
- bugfix: property PROCID empty instead of proper nilvalue if not present
|
||||
If it is not present, it must have the nilvalue "-" as of RFC5424
|
||||
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=332
|
||||
Thanks to John N for reporting this issue.
|
||||
---------------------------------------------------------------------------
|
||||
Version 5.8.11 [V5-stable] 2012-05-03
|
||||
- bugfix: ommysql did not properly init/exit the mysql runtime library
|
||||
|
||||
@ -1618,7 +1618,7 @@ char *getPROCID(msg_t *pM, sbool bLockMutex)
|
||||
MsgLock(pM);
|
||||
preparePROCID(pM, MUTEX_ALREADY_LOCKED);
|
||||
if(pM->pCSPROCID == NULL)
|
||||
pszRet = UCHAR_CONSTANT("");
|
||||
pszRet = UCHAR_CONSTANT("-");
|
||||
else
|
||||
pszRet = rsCStrGetSzStrNoNULL(pM->pCSPROCID);
|
||||
if(bLockMutex == LOCK_MUTEX)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user