martinzink commented on code in PR #2148:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2148#discussion_r3013645832
##########
extensions/libarchive/FocusArchiveEntry.cpp:
##########
@@ -169,7 +169,7 @@ int64_t FocusArchiveEntry::ReadCallback::operator()(const
std::shared_ptr<io::In
// Read each item in the archive
if (archive_read_open(input_archive.get(), &data, ok_cb, read_cb, ok_cb)) {
logger_->log_error("FocusArchiveEntry can't open due to archive error:
{}", archive_error_string(input_archive.get()));
- return nlen;
+ return io::IoResult::fromI64(nlen);
Review Comment:
👍
https://github.com/apache/nifi-minifi-cpp/commit/21f5ece018ff1324ddb15bf6c4bed0c126a127ab#diff-26d52bd8c669d38dc6f969e095bbbb61ec6c9da9628715eb7312cffe64cfab48R172
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]