From: Otto Moerbeek Date: Tue, 4 Jun 2019 12:35:16 +0000 (+0200) Subject: Fix error handling in poll loop. X-Git-Tag: dnsdist-1.4.0-rc1~116^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3252abefc2b75c19655c0be9570b1d293e948fd8;p=thirdparty%2Fpdns.git Fix error handling in poll loop. --- 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: "<