From 356e28b35ed9a49399a1cdbeb34194c80e3579a4 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 7 Jan 2016 14:18:21 +0100 Subject: [PATCH] util: buffer: Sanitize comment for virBufferAddBuffer Idioms are usually weird and obscure when translated literally. --- src/util/virbuffer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util/virbuffer.c b/src/util/virbuffer.c index 55dad37b18..43cd1a7175 100644 --- a/src/util/virbuffer.c +++ b/src/util/virbuffer.c @@ -180,8 +180,7 @@ virBufferAdd(virBufferPtr buf, const char *str, int len) * virBufferContentAndReset(), virBufferAdd(). Auto indentation * is (intentionally) NOT applied! * - * Moreover, be aware that @toadd is eaten with hair. IOW, the - * @toadd buffer is reset after this. + * The @toadd virBuffer is consumed and cleared. */ void virBufferAddBuffer(virBufferPtr buf, virBufferPtr toadd) -- GitLab