diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-08-22 15:29:02 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-08-22 15:29:02 +0200 |
commit | 9faf2240c4a8f09f3f6c2c9bbd47e48520524e03 (patch) | |
tree | 3ce400e560526e78039a31465d9a92eb2314464c /tools/omfwd.c | |
parent | 8985d50fea62e1794c8e1a12d09733007869a6b4 (diff) | |
download | rsyslog-9faf2240c4a8f09f3f6c2c9bbd47e48520524e03.tar.gz rsyslog-9faf2240c4a8f09f3f6c2c9bbd47e48520524e03.tar.xz rsyslog-9faf2240c4a8f09f3f6c2c9bbd47e48520524e03.zip |
changed TRUE/FALSE to RSTRUE/RSFALSE
This is done to prevent name claches with libraries.
Diffstat (limited to 'tools/omfwd.c')
-rw-r--r-- | tools/omfwd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/omfwd.c b/tools/omfwd.c index b456db17..812da109 100644 --- a/tools/omfwd.c +++ b/tools/omfwd.c @@ -207,12 +207,12 @@ static rsRetVal UDPSend(instanceData *pData, char *msg, size_t len) * call fails. Then, lsent has the error status, even though * the sendto() succeeded. -- rgerhards, 2007-06-22 */ - bSendSuccess = FALSE; + bSendSuccess = RSFALSE; for (r = pData->f_addr; r; r = r->ai_next) { for (i = 0; i < *pData->pSockArray; i++) { lsent = sendto(pData->pSockArray[i+1], msg, len, 0, r->ai_addr, r->ai_addrlen); if (lsent == len) { - bSendSuccess = TRUE; + bSendSuccess = RSTRUE; break; } else { int eno = errno; @@ -225,7 +225,7 @@ static rsRetVal UDPSend(instanceData *pData, char *msg, size_t len) break; } /* finished looping */ - if (bSendSuccess == FALSE) { + if (bSendSuccess == RSFALSE) { dbgprintf("error forwarding via udp, suspending\n"); iRet = RS_RET_SUSPENDED; } |