Skip to content

Commit bf64ef9

Browse files
committed
changed variable name to be complient to coding style
1 parent cc2634e commit bf64ef9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boost/network/protocol/http/client/connection/sync_base.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ struct sync_connection_base_impl {
169169
bool stopping_inner = false;
170170
do {
171171
if (response_buffer.size() < (chunk_size+2)){
172-
std::size_t toRead = (chunk_size+2) - response_buffer.size();
172+
std::size_t bytes_to_read = (chunk_size+2) - response_buffer.size();
173173
std::size_t chunk_bytes_read =
174174
read(socket_,
175175
response_buffer,
176-
boost::asio::transfer_at_least(toRead),
176+
boost::asio::transfer_at_least(bytes_to_read),
177177
error);
178178
if (chunk_bytes_read == 0) {
179179
if (error != boost::asio::error::eof)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy