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 /plugins/imudp/imudp.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 'plugins/imudp/imudp.c')
-rw-r--r-- | plugins/imudp/imudp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/imudp/imudp.c b/plugins/imudp/imudp.c index 46631e97..70c21bb9 100644 --- a/plugins/imudp/imudp.c +++ b/plugins/imudp/imudp.c @@ -314,7 +314,7 @@ processSocket(thrdInfo_t *pThrd, struct lstn_s *lstn, struct sockaddr_storage *f assert(pThrd != NULL); iNbrTimeUsed = 0; while(1) { /* loop is terminated if we have a bad receive, done below in the body */ - if(pThrd->bShallStop == TRUE) + if(pThrd->bShallStop == RSTRUE) ABORT_FINALIZE(RS_RET_FORCE_TERM); socklen = sizeof(struct sockaddr_storage); lenRcvBuf = recvfrom(lstn->sock, (char*) pRcvBuf, iMaxLine, 0, (struct sockaddr *)&frominet, &socklen); @@ -499,7 +499,7 @@ rsRetVal rcvMainLoop(thrdInfo_t *pThrd) nfds = epoll_wait(efd, currEvt, NUM_EPOLL_EVENTS, -1); DBGPRINTF("imudp: epoll_wait() returned with %d fds\n", nfds); - if(pThrd->bShallStop == TRUE) + if(pThrd->bShallStop == RSTRUE) break; /* terminate input! */ for(i = 0 ; i < nfds ; ++i) { |