[libvirt-glib 5/5] stream: Fix small error in gvir_stream_receive doc

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

 



---
 libvirt-gobject/libvirt-gobject-stream.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libvirt-gobject/libvirt-gobject-stream.c b/libvirt-gobject/libvirt-gobject-stream.c
index f0e43d0..2cb8967 100644
--- a/libvirt-gobject/libvirt-gobject-stream.c
+++ b/libvirt-gobject/libvirt-gobject-stream.c
@@ -414,8 +414,7 @@ gvir_stream_receive_all(GVirStream *self,
  * If there is no data available, a %G_IO_ERROR_WOULD_BLOCK error will be
  * returned.
  *
- * Returns: Number of bytes read, or 0 if the end of stream reached,
- * or -1 on error.
+ * Returns: Number of bytes written.
  */
 gssize gvir_stream_send(GVirStream *self,
                         const gchar *buffer,
-- 
1.8.0

--
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]