Displaying 1 result from an estimated 1 matches for "7adc6d1".
Did you mean:
7adc6c4
2020 Sep 29
0
[PATCH libnbd] DO NOT PUSH: Update api: Add get_nr_meta_contexts, clear_meta_contexts
...nt "i" ]; ret = RString;
+ args = [ SizeT "i" ]; ret = RString;
shortdesc = "return the i'th meta context request";
longdesc = "\
During connection libnbd can negotiate zero or more metadata
diff --git a/lib/handle.c b/lib/handle.c
index e0047b7..7adc6d1 100644
--- a/lib/handle.c
+++ b/lib/handle.c
@@ -320,12 +320,12 @@ nbd_unlocked_get_nr_meta_contexts (struct nbd_handle *h)
}
char *
-nbd_unlocked_get_meta_context (struct nbd_handle *h, int i)
+nbd_unlocked_get_meta_context (struct nbd_handle *h, size_t i)
{
size_t len = nbd_internal_strin...