Displaying 1 result from an estimated 1 matches for "read_all_errchk".
2016 Sep 26
2
Re: [Nbd] Testing NBD server implementations for correctness
...e won't be using it ourselves.
Thanks.
>> diff -r e691aad45ed2 tests/run/nbd-tester-client.c
>> --- a/tests/run/nbd-tester-client.c Thu Sep 15 13:25:47 2016 +0100
>> +++ b/tests/run/nbd-tester-client.c Mon Sep 26 03:18:26 2016 +0200
>> @@ -384,7 +384,12 @@
>> READ_ALL_ERRCHK(sock, &size, sizeof(size), err,
>> "Could not read size: %s", strerror(errno));
>> size = ntohll(size);
>> - READ_ALL_ERRCHK(sock, buf, 128, err, "Could not read data: %s",
>> + uint32_t flags;
>> + READ_ALL_ERRCHK(sock, &flags, s...