diff options
| author | levlam <levlam@telegram.org> | 2020-06-15 04:23:47 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2020-06-15 04:23:47 +0300 |
| commit | ea4841a37c156addb2c4167ca6d62b51c4aa79a4 (patch) | |
| tree | b11b2787ff855078d04e0bb729693bcec54ee9ca /tdnet/td/net/Wget.cpp | |
| parent | 715146c65c99acc47279508f272c48e8fb06dc0e (diff) | |
Unify enum constant name style.
GitOrigin-RevId: 2e36eef9b54c23da0d1bc9beb7e07af8835f702d
Diffstat (limited to 'tdnet/td/net/Wget.cpp')
| -rw-r--r-- | tdnet/td/net/Wget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdnet/td/net/Wget.cpp b/tdnet/td/net/Wget.cpp index f7a8b876e..a971eaf93 100644 --- a/tdnet/td/net/Wget.cpp +++ b/tdnet/td/net/Wget.cpp @@ -74,7 +74,7 @@ Status Wget::try_init() { TRY_STATUS(addr.init_host_port(url.host_, url.port_, prefer_ipv6_)); TRY_RESULT(fd, SocketFd::open(addr)); - if (url.protocol_ == HttpUrl::Protocol::HTTP) { + if (url.protocol_ == HttpUrl::Protocol::Http) { connection_ = create_actor<HttpOutboundConnection>("Connect", std::move(fd), SslStream{}, std::numeric_limits<std::size_t>::max(), 0, 0, ActorOwn<HttpOutboundConnection::Callback>(actor_id(this))); |
