Skip to content

Commit 40f8c42

Browse files
eakralydeanberris
authored andcommitted
Cleanup spaces and tabs
1 parent 86d28c1 commit 40f8c42

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
struct normal_delegate : connection_delegate {
2020
normal_delegate(asio::io_service &service);
2121

22-
virtual void connect(asio::ip::tcp::endpoint & endpoint, std::string host,
22+
virtual void connect(asio::ip::tcp::endpoint &endpoint, std::string host,
2323
function<void(system::error_code const &)> handler);
2424
virtual void write(
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
void boost::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_code const &)> handler) {
2524
socket_.reset(new asio::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
void boost::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_code const &)> handler) {
3029
context_.reset(
3130
new asio::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)