diff --git a/util/net/http_transport_socket.cc b/util/net/http_transport_socket.cc index 34d8deeb..75ed38fd 100644 --- a/util/net/http_transport_socket.cc +++ b/util/net/http_transport_socket.cc @@ -57,8 +57,7 @@ struct ScopedAddrinfoTraits { static addrinfo* InvalidValue() { return nullptr; } static void Free(addrinfo* ai) { freeaddrinfo(ai); } }; -using ScopedAddrinfo = - base::ScopedGeneric; +using ScopedAddrinfo = base::ScopedGeneric; class Stream { public: @@ -81,7 +80,7 @@ class FdStream : public Stream { return LoggingReadFileExactly(fd_, data, size); } - bool LoggingReadToEOF(std::string* result) override{ + bool LoggingReadToEOF(std::string* result) override { return crashpad::LoggingReadToEOF(fd_, result); } @@ -545,7 +544,8 @@ bool HTTPTransportSocket::ExecuteSynchronously(std::string* response_body) { } #if !defined(CRASHPAD_USE_BORINGSSL) - CHECK(scheme == "http"); + CHECK(scheme == "http") << "Got " << scheme << " for scheme in '" << url() + << "'"; #endif base::ScopedFD sock(CreateSocket(hostname, port));