]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Fix a typo in a comment 9526/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 08:58:34 +0000 (10:58 +0200)
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit ebcde9cbc9e1239157963e581327cdacde3a862f)

pdns/pdns_recursor.cc

index 7d342c5c0cafe29e4101ac218232872a9043d21b..9a0475002976b09ae6f972e90e86b9e4ff39ca85 100644 (file)
@@ -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);