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

Commiteb907a8

Browse files
umenneldeanberris
authored andcommitted
Clarified and commented expression.
1 parent5240c4b commiteb907a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ struct chunk_encoding_parser {
5656
ss << std::hex << range;
5757
size_t size;
5858
ss >> size;
59-
chunk_size = (chunk_size << (range.size() *4)) + size;
59+
// New digits are appended as LSBs
60+
chunk_size = (chunk_size << (range.size() *4)) | size;
6061
}
6162

6263
boost::iterator_range<

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp