summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2010-01-10 21:18:04 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-01-10 21:18:04 +0000
commit22ff20a574f81684417952f67346aead0e1c2676 (patch)
treefa6df2427eeafc0cc6077fd2378a5b90df1a78ed
parent1de479c820f8d778c6fe878f5a24d4021ca93f57 (diff)
docs: minor netbuffer documentation fix
-rw-r--r--gst-libs/gst/netbuffer/gstnetbuffer.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gst-libs/gst/netbuffer/gstnetbuffer.c b/gst-libs/gst/netbuffer/gstnetbuffer.c
index 45db54c0..3d389f9b 100644
--- a/gst-libs/gst/netbuffer/gstnetbuffer.c
+++ b/gst-libs/gst/netbuffer/gstnetbuffer.c
@@ -306,14 +306,15 @@ gst_netaddress_get_address_bytes (const GstNetAddress * naddr,
/**
* gst_netaddress_set_address_bytes:
* @naddr: a network address
+ * @type: the address type (IPv4 or IPV6)
* @address: a location to store the result.
* @port: a location to store the port.
*
* Set just the address bytes stored in @naddr into @address.
*
- * Note that @port must be expressed in network byte order, use g_htons() to convert
- * it to network byte order order. IP4 address bytes must also be stored in
- * network byte order.
+ * Note that @port must be expressed in network byte order, use g_htons() to
+ * convert it to network byte order order. IP4 address bytes must also be
+ * stored in network byte order.
*
* Returns: number of bytes actually copied
*