]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Fix a typo in a comment 9525/head
authorRemi Gacogne <rgacogne+github@valombre.net>
Wed, 23 Sep 2020 08:31:36 +0000 (10:31 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 25 Sep 2020 09:02:29 +0000 (11:02 +0200)
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit ebcde9cbc9e1239157963e581327cdacde3a862f)

pdns/pdns_recursor.cc

index 94b10d7151b2070b3de15845af3b106a9c68ecff..82cb1d6cad060aa2938032fa4b7a3006c9f28216 100644 (file)
@@ -1820,7 +1820,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);