diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-13 07:29:11 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-13 07:29:11 +0200 |
commit | 05b0c4322bbd7621762dc4b9b3a2e1baeabdaa1f (patch) | |
tree | fff445812838b1793c3d515f2a2fb6a63288668a /runtime | |
parent | 61f643b080234115a0d3cfc1323ff29f8a33f23e (diff) | |
download | rsyslog-05b0c4322bbd7621762dc4b9b3a2e1baeabdaa1f.tar.gz rsyslog-05b0c4322bbd7621762dc4b9b3a2e1baeabdaa1f.tar.xz rsyslog-05b0c4322bbd7621762dc4b9b3a2e1baeabdaa1f.zip |
removed no longer needed msg_t property "bParseHOSTNAME"
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/msg.c | 4 | ||||
-rw-r--r-- | runtime/msg.h | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/runtime/msg.c b/runtime/msg.c index d28ee350..dd541337 100644 --- a/runtime/msg.c +++ b/runtime/msg.c @@ -632,7 +632,6 @@ static inline rsRetVal msgBaseConstruct(msg_t **ppThis) /* initialize members in ORDER they appear in structure (think "cache line"!) */ pM->flowCtlType = 0; pM->bDoLock = 0; - pM->bParseHOSTNAME = 0; pM->iRefCount = 1; pM->iSeverity = -1; pM->iFacility = -1; @@ -861,7 +860,6 @@ msg_t* MsgDup(msg_t* pOld) pNew->iRefCount = 1; pNew->iSeverity = pOld->iSeverity; pNew->iFacility = pOld->iFacility; - pNew->bParseHOSTNAME = pOld->bParseHOSTNAME; pNew->msgFlags = pOld->msgFlags; pNew->iProtocolVersion = pOld->iProtocolVersion; pNew->ttGenTime = pOld->ttGenTime; @@ -935,7 +933,7 @@ msg_t* MsgDup(msg_t* pOld) * We do not serialize the cache properties. We re-create them when needed. * This saves us a lot of memory. Performance is no concern, as serializing * is a so slow operation that recration of the caches does not count. Also, - * we do not serialize bParseHOSTNAME, as this is only a helper variable + * we do not serialize --currently none--, as this is only a helper variable * during msg construction - and never again used later. * rgerhards, 2008-01-03 */ diff --git a/runtime/msg.h b/runtime/msg.h index b006cbec..f7d74597 100644 --- a/runtime/msg.h +++ b/runtime/msg.h @@ -60,7 +60,6 @@ struct msg { once data has entered the queue, this property is no longer needed. */ pthread_mutex_t mut; bool bDoLock; /* use the mutex? */ - bool bParseHOSTNAME; /* should the hostname be parsed from the message? */ short iRefCount; /* reference counter (0 = unused) */ /* background: the hostname is not present on "regular" messages * received via UNIX domain sockets from the same machine. However, |