From 3252abefc2b75c19655c0be9570b1d293e948fd8 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 4 Jun 2019 14:35:16 +0200 Subject: [PATCH] Fix error handling in poll loop. --- pdns/calidns.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pdns/calidns.cc b/pdns/calidns.cc index 06862882af..0f11e790fe 100644 --- a/pdns/calidns.cc +++ b/pdns/calidns.cc @@ -93,18 +93,16 @@ static void* recvThread(const vector* sockets) #if HAVE_RECVMMSG if ((err=recvmmsg(pfd.fd, &buf[0], buf.size(), MSG_WAITFORONE, 0)) < 0 ) { if(errno != EAGAIN) - cerr<<"recvmmsg gave error, ignoring: "<