]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix formatting
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 6 Sep 2021 14:50:07 +0000 (16:50 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 13 Sep 2021 13:34:33 +0000 (15:34 +0200)
pdns/dnsdistdist/test-dnsdistnghttp2_cc.cc

index c794d13a1db9dc85531dd0db511baf87d3af630a..3da8a40e91f802a9750ec751437167fb73328e92 100644 (file)
@@ -139,8 +139,7 @@ struct DOHConnection
         if (toWrite == 0) {
           return consumed;
         }
-      }
-      while (d_needProxyProtocol && toWrite > 0);
+      } while (d_needProxyProtocol && toWrite > 0);
     }
 
     ssize_t readlen = nghttp2_session_mem_recv(d_session.get(), &data.at(pos), toWrite);