[Libguestfs] [PATCH nbdkit v2 1/5] docs: Fix whitespace to logically group C code examples together

Richard W.M. Jones rjones at redhat.com
Tue May 24 14:16:56 UTC 2022


Logically group the C code examples together into a single verbatim
section.  Note that a following commit will correct this one.

Fixes: commit 4ca66f70a5865efbad67d719ba84950ddafefc01
Fixes: commit d4c58f93d0589c522d5a3422e61ba7fde1c64255
Thanks: Laszlo Ersek
---
 docs/nbdkit-filter.pod | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/nbdkit-filter.pod b/docs/nbdkit-filter.pod
index 587b012e..416d6fe6 100644
--- a/docs/nbdkit-filter.pod
+++ b/docs/nbdkit-filter.pod
@@ -500,7 +500,7 @@ from the layer below.  Without error checking it would look like this:
    struct nbdkit_exports *exports2;
    struct nbdkit_export e;
    char *name, *desc;
-
+ 
    exports2 = nbdkit_exports_new ();
    next_list_exports (nxdata, readonly, exports);
    for (i = 0; i < nbdkit_exports_count (exports2); ++i) {
@@ -947,7 +947,7 @@ from the layer below.  Without error checking it would look like this:
    struct nbdkit_extents *extents2;
    struct nbdkit_extent e;
    int64_t size;
-
+ 
    size = next->get_size (next);
    extents2 = nbdkit_extents_new (offset + shift, size);
    next->extents (next, count, offset + shift, flags, extents2, err);
-- 
2.35.1



More information about the Libguestfs mailing list