Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitceed0b5

Browse files
committed
Cleanup spaces and tabs
1 parent82651b6 commitceed0b5

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

‎boost/network/protocol/http/client/connection/normal_delegate.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace impl {
1919
structnormal_delegate : connection_delegate {
2020
normal_delegate(asio::io_service &service);
2121

22-
virtualvoidconnect(asio::ip::tcp::endpoint &endpoint, std::string host,
22+
virtualvoidconnect(asio::ip::tcp::endpoint &endpoint, std::string host,
2323
function<void(system::error_codeconst &)> handler);
2424
virtualvoidwrite(
2525
asio::streambuf &command_streambuf,

‎boost/network/protocol/http/client/connection/normal_delegate.ipp‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ boost::network::http::impl::normal_delegate::normal_delegate(
1919
: service_(service) {}
2020

2121
voidboost::network::http::impl::normal_delegate::connect(
22-
asio::ip::tcp::endpoint & endpoint,
23-
std::string host,
22+
asio::ip::tcp::endpoint &endpoint, std::string host,
2423
function<void(system::error_codeconst &)> handler) {
2524
socket_.reset(newasio::ip::tcp::socket(service_));
2625
socket_->async_connect(endpoint, handler);

‎boost/network/protocol/http/client/connection/ssl_delegate.ipp‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ boost::network::http::impl::ssl_delegate::ssl_delegate(
2424
always_verify_peer_(always_verify_peer) {}
2525

2626
voidboost::network::http::impl::ssl_delegate::connect(
27-
asio::ip::tcp::endpoint &endpoint,
28-
std::string host,
27+
asio::ip::tcp::endpoint &endpoint, std::string host,
2928
function<void(system::error_codeconst &)> handler) {
3029
context_.reset(
3130
newasio::ssl::context(service_, asio::ssl::context::sslv23_client));
@@ -49,7 +48,7 @@ void boost::network::http::impl::ssl_delegate::connect(
4948
socket_.reset(
5049
new asio::ssl::stream<asio::ip::tcp::socket>(service_, *context_));
5150
if (always_verify_peer_)
52-
socket_->set_verify_callback(boost::asio::ssl::rfc2818_verification(host));
51+
socket_->set_verify_callback(boost::asio::ssl::rfc2818_verification(host));
5352
socket_->lowest_layer().async_connect(
5453
endpoint,
5554
::boost::bind(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp