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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]