diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-09-16 11:56:07 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-09-16 11:56:07 +0200 |
commit | 760e5f0d3986aa93a07e207dde3206741ec3ad74 (patch) | |
tree | 81ccd4767e616810b19d946280cdf2fb6d841b89 /dirty.h | |
parent | 1e819a8afe9494cc760196ac91f3b617bc073de9 (diff) | |
download | rsyslog-760e5f0d3986aa93a07e207dde3206741ec3ad74.tar.gz rsyslog-760e5f0d3986aa93a07e207dde3206741ec3ad74.tar.bz2 rsyslog-760e5f0d3986aa93a07e207dde3206741ec3ad74.zip |
performance optimization: unnecessary time() calls during message parsing removed
thanks to David Lang for his excellent performance analysis
Diffstat (limited to 'dirty.h')
-rw-r--r-- | dirty.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ #define NOFLAG 0x000 /* no flag is set (to be used when a flag must be specified and none is required) */ #define INTERNAL_MSG 0x001 /* msg generated by logmsgInternal() --> special handling */ /* NO LONGER USED: #define SYNC_FILE 0x002 / * do fsync on file after printing */ -#define ADDDATE 0x004 /* add a date to the message */ +#define IGNDATE 0x004 /* ignore, if given, date in message and use date of reception as msg date */ #define MARK 0x008 /* this message is a mark */ #define MSG_PARSE_HOSTNAME 1 |