Skip to content

Commit

Permalink
Claanup
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Nov 15, 2023
1 parent 45f94c6 commit 729ec4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cpp/devices/ctapdriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ bool CTapDriver::HasPendingPackets() const
fds.events = POLLIN | POLLERR;
fds.revents = 0;
poll(&fds, 1, 0);
spdlog::trace(to_string(fds.revents) + " revents");
return fds.revents & POLLIN;
}

Expand Down
2 changes: 1 addition & 1 deletion cpp/devices/scsi_daynaport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ int SCSIDaynaPort::Read(cdb_t cdb, vector<uint8_t>& buf, uint64_t)
return DAYNAPORT_READ_HEADER_SZ;
}

byte_read_count += rx_packet_size * read_count;
byte_read_count += rx_packet_size;

LogTrace("Packet Size " + to_string(rx_packet_size) + ", read count: " + to_string(read_count));

Expand Down

0 comments on commit 729ec4b

Please sign in to comment.