]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Fix a typo in a comment 9495/head
authorRemi Gacogne <rgacogne+github@valombre.net>
Wed, 23 Sep 2020 08:31:36 +0000 (10:31 +0200)
committerGitHub <noreply@github.com>
Wed, 23 Sep 2020 08:31:36 +0000 (10:31 +0200)
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/pdns_recursor.cc

index 45531017038d2832959d52ba2776dee11786069a..ddcdc9db7677dec4852465459b6e664319287825 100644 (file)
@@ -1915,7 +1915,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);