]> granicus.if.org Git - pdns/commitdiff
dnsdist: Fix a typo in the IDS outstanding counter comment
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 14 Dec 2017 22:13:36 +0000 (23:13 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 13 Feb 2018 13:58:52 +0000 (14:58 +0100)
(cherry picked from commit fe0b6bbade6c20704760bbde252f0b61a625633b)

pdns/dnsdist.cc

index 3fd8c0aa65a4a6c07fd0b7f453fed43287ba9b2f..b2f08adc8f4db480d6ca09302df658f8510fde89 100644 (file)
@@ -513,7 +513,7 @@ try {
       if (outstandingDecreased) {
         /* so an exception was raised after we decreased the outstanding queries counter,
            but before we could set ids->origFD to -1 (because we also set outstandingDecreased
-           to false then), meaning the IDS still considered active and we will decrease the
+           to false then), meaning the IDS is still considered active and we will decrease the
            counter again on a duplicate, or simply while reaping downstream timeouts, so let's
            increase it back. */
         state->outstanding++;