From: Remi Gacogne Date: Wed, 23 Sep 2020 08:31:36 +0000 (+0200) Subject: rec: Fix a typo in a comment X-Git-Tag: rec-4.4.0-rc2~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9526%2Fhead;p=thirdparty%2Fpdns.git rec: Fix a typo in a comment Co-authored-by: Otto Moerbeek (cherry picked from commit ebcde9cbc9e1239157963e581327cdacde3a862f) --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 7d342c5c0c..9a04750029 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1918,7 +1918,7 @@ static void startDoResolve(void *p) t_fdm->setReadTTD(dc->d_socket, ttd, g_tcpTimeout); } catch (const FDMultiplexerException &) { - // but the FD was removed because of a timeout while we were sending a response, + // but if the FD was removed because of a timeout while we were sending a response, // we need to re-arm it. If it was an error it will error again. ttd.tv_sec += g_tcpTimeout; t_fdm->addReadFD(dc->d_socket, handleRunningTCPQuestion, dc->d_tcpConnection, &ttd);