summaryrefslogtreecommitdiffstats
path: root/runtime/parser.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-02-02 15:51:01 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-02-02 15:51:01 +0100
commit38cb3926727c0ad29f3950db43ba12248e867b89 (patch)
tree5062cb4f81766ab983971126974a914e3fb4f360 /runtime/parser.c
parentacda58b561b92d21df685d03cc703b5792d9d72b (diff)
downloadrsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.tar.gz
rsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.tar.xz
rsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.zip
replaced data type "bool" by "sbool" because this created some portability issues
Diffstat (limited to 'runtime/parser.c')
-rw-r--r--runtime/parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/parser.c b/runtime/parser.c
index cbeb01e2..ca31b35d 100644
--- a/runtime/parser.c
+++ b/runtime/parser.c
@@ -310,7 +310,7 @@ SanitizeMsg(msg_t *pMsg)
size_t iDst;
size_t iMaxLine;
size_t maxDest;
- bool bUpdatedLen = FALSE;
+ sbool bUpdatedLen = FALSE;
uchar szSanBuf[32*1024]; /* buffer used for sanitizing a string */
assert(pMsg != NULL);
@@ -464,8 +464,8 @@ ParseMsg(msg_t *pMsg)
rsRetVal localRet;
parserList_t *pParserList;
parser_t *pParser;
- bool bIsSanitized;
- bool bPRIisParsed;
+ sbool bIsSanitized;
+ sbool bPRIisParsed;
static int iErrMsgRateLimiter = 0;
DEFiRet;