[libvirt] [PATCH 25/34] util: buffer: Sanitize comment for virBufferAddBuffer

Peter Krempa pkrempa at redhat.com
Thu Jan 14 16:27:13 UTC 2016


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 55dad37..43cd1a7 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)
-- 
2.6.2




More information about the libvir-list mailing list