mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
REFACTOR: Reformat code.
This commit is contained in:
@@ -377,8 +377,9 @@ void ScsiReport(int fd, xmlTextWriterPtr xmlWriter)
|
||||
if(!error)
|
||||
{
|
||||
xmlTextWriterWriteFormatElement(xmlWriter, BAD_CAST "SupportsReadCapacity", "%s", "true");
|
||||
blocks = (uint64_t)(buffer[0] << 24) + (buffer[1] << 16) + (buffer[2] << 8) + (buffer[3]) +
|
||||
1;
|
||||
blocks =
|
||||
(uint64_t)(buffer[0] << 24) + (buffer[1] << 16) + (buffer[2] << 8) + (buffer[3]) +
|
||||
1;
|
||||
blockSize = (uint32_t)((buffer[4] << 24) + (buffer[5] << 16) + (buffer[6] << 8) +
|
||||
(buffer[7]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user