diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-25 15:06:41 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-25 15:06:41 +0100 |
commit | e86b0680ef9f3c90172c6b3cb1ad563859da6223 (patch) | |
tree | 309c68f818ce4a259772d66783a7f52f2d1f4ad7 /runtime/nsdpoll_ptcp.c | |
parent | c21d381030a5b6ae3bc20a9cfb84c4c04b0922ff (diff) | |
download | rsyslog-e86b0680ef9f3c90172c6b3cb1ad563859da6223.tar.gz rsyslog-e86b0680ef9f3c90172c6b3cb1ad563859da6223.tar.xz rsyslog-e86b0680ef9f3c90172c6b3cb1ad563859da6223.zip |
solved some platform issues with nsdpoll_ptcp
Diffstat (limited to 'runtime/nsdpoll_ptcp.c')
-rw-r--r-- | runtime/nsdpoll_ptcp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/nsdpoll_ptcp.c b/runtime/nsdpoll_ptcp.c index 445ecc71..85aac04c 100644 --- a/runtime/nsdpoll_ptcp.c +++ b/runtime/nsdpoll_ptcp.c @@ -133,11 +133,11 @@ delEvent(nsdpoll_epollevt_lst_t **ppEvtLst) { */ BEGINobjConstruct(nsdpoll_ptcp) /* be sure to specify the object type also in END macro! */ # if defined(EPOLL_CLOEXEC) && defined(HAVE_EPOLL_CREATE1) - DBGPRINTF("imudp uses epoll_create1()\n"); + DBGPRINTF("nsdpoll_ptcp uses epoll_create1()\n"); pThis->efd = epoll_create1(EPOLL_CLOEXEC); # else - DBGPRINTF("imudp uses epoll_create()\n"); - pThis->efd = epoll_create(NUM_EPOLL_EVENTS); + DBGPRINTF("nsdpoll_ptcp uses epoll_create()\n"); + pThis->efd = epoll_create(100); /* size is ignored in newer kernels, but 100 is not bad... */ # endif if(pThis->efd < 0) { DBGPRINTF("epoll_create1() could not create fd\n"); |