Skip to content

Commit b93bf17

Browse files
Daniel BocaJinming-Hu
Daniel Boca
authored andcommitted
Fix condition throwing error_missing_crc64
1 parent 0cdc215 commit b93bf17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Microsoft.WindowsAzure.Storage/src/cloud_blob.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ namespace azure { namespace storage {
636636
{
637637
throw storage_exception(protocol::error_md5_mismatch);
638638
}
639-
if (!download_info->m_response_crc64.empty() && !descriptor.content_checksum().is_crc64() && download_info->m_response_crc64 != descriptor.content_checksum().crc64())
639+
if (!download_info->m_response_crc64.empty() && descriptor.content_checksum().is_crc64() && download_info->m_response_crc64 != descriptor.content_checksum().crc64())
640640
{
641641
throw storage_exception(protocol::error_crc64_mismatch);
642642
}

0 commit comments

Comments
 (0)