[libvirt] [PATCH] virbuffer: Set child buffer indent properly

Ján Tomko jtomko at redhat.com
Fri May 11 15:01:39 UTC 2018


On Fri, May 11, 2018 at 02:56:17PM +0200, Michal Privoznik wrote:
>There's this macro virBufferSetChildIndent which sets offset of
>child buffer from given parent buffer. However, it is calling
>virBufferAdjustIndent() which only adds adjustment instead of
>calling virBufferSetIndent() which clears out any adjustment
>previously set.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/util/virbuffer.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180511/8b44ddcd/attachment-0001.sig>


More information about the libvir-list mailing list