aboutsummaryrefslogtreecommitdiff
path: root/nDPId-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'nDPId-test.c')
-rw-r--r--nDPId-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nDPId-test.c b/nDPId-test.c
index 170bf4c2e..48c0e2b70 100644
--- a/nDPId-test.c
+++ b/nDPId-test.c
@@ -311,7 +311,7 @@ static void * nDPIsrvd_mainloop_thread(void * const arg)
#ifdef ENABLE_EPOLL
if (nio_use_epoll(&io, 32) != NIO_SUCCESS)
#else
- if (nio_use_poll(&io, 32) != NIO_SUCCESS)
+ if (nio_use_poll(&io, nDPIsrvd_MAX_REMOTE_DESCRIPTORS) != NIO_SUCCESS)
#endif
{
logger(1, "%s", "Error creating nDPIsrvd poll/epoll event I/O");