Skip to content

Commit b55e6ae

Browse files
author
me
committed
consistent with rest of code
1 parent afde2bf commit b55e6ae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/http.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,14 +636,13 @@ namespace http
636636
{
637637
for (size_t i = 0 ; i < ndata ; ++i)
638638
{
639-
block[off] = data[i];
640-
++off;
639+
block[off++] = data[i];
641640
++total;
642641

643642
if (off == std::size(block))
644643
{
645-
off = 0;
646644
process_sha1_block(hash, block);
645+
off = 0;
647646
}
648647
}
649648

0 commit comments

Comments
 (0)