]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix documentation of virStreamRecv
authorMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 15 Jun 2011 16:38:26 +0000 (18:38 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Thu, 16 Jun 2011 09:31:07 +0000 (11:31 +0200)
virStreamRecv is for reading.

Also add some missing punctuation to virStreamSend's documentation.

src/libvirt.c

index b2e1d02c15fd543870d38b99dc820574ec1b4b44..3c072311f46974d59629eece9783f8351f83d000 100644 (file)
@@ -12730,10 +12730,10 @@ virStreamRef(virStreamPtr stream)
  * block the calling application for an arbitrary amount
  * of time. Once an application has finished sending data
  * it should call virStreamFinish to wait for successful
- * confirmation from the driver, or detect any error
+ * confirmation from the driver, or detect any error.
  *
  * This method may not be used if a stream source has been
- * registered
+ * registered.
  *
  * Errors are not guaranteed to be reported synchronously
  * with the call, but may instead be delayed until a
@@ -12825,10 +12825,10 @@ error:
 /**
  * virStreamRecv:
  * @stream: pointer to the stream object
- * @data: buffer to write to stream
+ * @data: buffer to read into from stream
  * @nbytes: size of @data buffer
  *
- * Write a series of bytes to the stream. This method may
+ * Reads a series of bytes from the stream. This method may
  * block the calling application for an arbitrary amount
  * of time.
  *