summaryrefslogtreecommitdiffstats
path: root/runtime/msg.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-16 11:36:05 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-16 11:36:05 +0200
commitf7579e68a67364c8040966be57c2eae4c9550ee5 (patch)
treeb0e0eb7e54f6fb5db3b6600d0f3fe72a4a0f271e /runtime/msg.h
parent015d17ca70e81ad998e32cdfeed3cd925fd7dedc (diff)
downloadrsyslog-f7579e68a67364c8040966be57c2eae4c9550ee5.tar.gz
rsyslog-f7579e68a67364c8040966be57c2eae4c9550ee5.tar.xz
rsyslog-f7579e68a67364c8040966be57c2eae4c9550ee5.zip
done various optimizations to the stringbuf and its users
Diffstat (limited to 'runtime/msg.h')
-rw-r--r--runtime/msg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/msg.h b/runtime/msg.h
index 1689bbbc..20360641 100644
--- a/runtime/msg.h
+++ b/runtime/msg.h
@@ -73,7 +73,8 @@ short bDoLock; /* use the mutex? */
int iLenFacility; /* ... and its length. */
uchar *pszFacilityStr; /* facility name... */
int iLenFacilityStr; /* ... and its length. */
- uchar *pszPRI; /* the PRI as a string */
+ //uchar *pszPRI; /* the PRI as a string */
+ uchar bufPRI[5];
int iLenPRI; /* and its length */
uchar *pszRawMsg; /* message as it was received on the
* wire. This is important in case we
@@ -121,7 +122,6 @@ short bDoLock; /* use the mutex? */
char *pszTIMESTAMP_SecFrac;/* TIMESTAMP fractional seconds (always 6 characters) */
int msgFlags; /* flags associated with this message */
/* now follow fixed-size buffers to safe some time otherwise used for allocs */
- uchar bufPRI[5];
};