Displaying 1 result from an estimated 1 matches for "264037d".
Did you mean:
264037
2017 Nov 15
1
[nbdkit PATCH] connections: Improve error responses
...ool instead. And finally,
fix a comment typo.
Signed-off-by: Eric Blake <eblake@redhat.com>
---
src/connections.c | 53 ++++++++++++++++++++++++-----------------------------
1 file changed, 24 insertions(+), 29 deletions(-)
diff --git a/src/connections.c b/src/connections.c
index 8dc1925..264037d 100644
--- a/src/connections.c
+++ b/src/connections.c
@@ -666,7 +666,7 @@ negotiate_handshake (struct connection *conn)
return r;
}
-static int
+static bool
valid_range (struct connection *conn, uint64_t offset, uint32_t count)
{
uint64_t exportsize = conn->exportsize;
@@ -674,27 +674...