From b0524c058906c322173dde42c47e86be27c6dea7 Mon Sep 17 00:00:00 2001 From: neru Date: Tue, 7 Apr 2026 01:37:09 -0300 Subject: [PATCH] style: run clang-format --- src/unlocker/proxy.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/unlocker/proxy.cpp b/src/unlocker/proxy.cpp index 3d1db8b..eedd2a2 100644 --- a/src/unlocker/proxy.cpp +++ b/src/unlocker/proxy.cpp @@ -336,8 +336,7 @@ void Proxy::handleClient(SOCKET hClientSocket) std::string emptyBody = ""; OnClientRequest.run(url, emptyBody, headers); - if (!pendingUrls.empty()) - pendingUrls.back() = url; + if (!pendingUrls.empty()) pendingUrls.back() = url; SSL_write(remoteSSL, headers.data(), (int)headers.size()); clientStream.buffer.erase(0, clientStream.headersEnd + 4); @@ -387,8 +386,7 @@ void Proxy::handleClient(SOCKET hClientSocket) if (complete) { OnClientRequest.run(url, body, headers); - if (!pendingUrls.empty() && pendingUrls.back() != url) - pendingUrls.back() = url; + if (!pendingUrls.empty() && pendingUrls.back() != url) pendingUrls.back() = url; SSL_write(remoteSSL, headers.data(), (int)headers.size()); SSL_write(remoteSSL, clientStream.buffer.data() + bodyStart,