]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: buffer: Sanitize comment for virBufferAddBuffer
authorPeter Krempa <pkrempa@redhat.com>
Thu, 7 Jan 2016 13:18:21 +0000 (14:18 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 25 Jan 2016 16:53:08 +0000 (17:53 +0100)
Idioms are usually weird and obscure when translated literally.

src/util/virbuffer.c

index 55dad37b18f38f90e83c1e18413debb6f4734214..43cd1a7175e630236b8aa89b4f612c5fcf0e8897 100644 (file)
@@ -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)