Commit ed5983fe authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook GitHub Bot

Fix typo in checking hw checksum support

Summary: [Folly] Fix technical typo in checking hw checksum support, but which makes no practical difference.

Differential Revision: D21689112

fbshipit-source-id: 8ad71d20a561f4bbf5c413ce94e7bec227d9d940
parent 6ff43051
...@@ -169,7 +169,7 @@ uint32_t crc32c_combine(uint32_t crc1, uint32_t crc2, size_t crc2len) { ...@@ -169,7 +169,7 @@ uint32_t crc32c_combine(uint32_t crc1, uint32_t crc2, size_t crc2len) {
crc1 = crc32c(data, len, crc1); crc1 = crc32c(data, len, crc1);
} }
if (detail::crc32_hw_supported()) { if (detail::crc32c_hw_supported()) {
return detail::crc32c_combine_hw(crc1, crc2, crc2len - len); return detail::crc32c_combine_hw(crc1, crc2, crc2len - len);
} else { } else {
return detail::crc32c_combine_sw(crc1, crc2, crc2len - len); return detail::crc32c_combine_sw(crc1, crc2, crc2len - len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment