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

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



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


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