summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2010-11-25 15:51:49 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-11-25 15:51:49 +0100
commitafafd9e0d7b333c54613670f4b9dbe3ae90ec51d (patch)
tree6bb07a767270e542d5ff83b784e47b2e1f460447 /runtime
parent64ecd12021dad06df365f94f7fddd44ebfbd0eb2 (diff)
downloadrsyslog-afafd9e0d7b333c54613670f4b9dbe3ae90ec51d.tar.gz
rsyslog-afafd9e0d7b333c54613670f4b9dbe3ae90ec51d.tar.xz
rsyslog-afafd9e0d7b333c54613670f4b9dbe3ae90ec51d.zip
bugfix: atomic increment for msg object may not work correct on all platforms.
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/msg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/msg.h b/runtime/msg.h
index d42f1de2..4897959c 100644
--- a/runtime/msg.h
+++ b/runtime/msg.h
@@ -60,8 +60,8 @@ struct msg {
flowControl_t flowCtlType; /**< type of flow control we can apply, for enqueueing, needs not to be persisted because
once data has entered the queue, this property is no longer needed. */
pthread_mutex_t mut;
+ int iRefCount; /* reference counter (0 = unused) */
sbool bDoLock; /* use the mutex? */
- short iRefCount; /* reference counter (0 = unused) */
short iSeverity; /* the severity 0..7 */
short iFacility; /* Facility code 0 .. 23*/
short offAfterPRI; /* offset, at which raw message WITHOUT PRI part starts in pszRawMsg */