laforge submitted this change.
stream_{cli,srv}: fix copy-paste in API docs
Change-Id: I8ec783b8db36a017dc3fe111b0ca0938488ae03d
---
M src/stream_cli.c
M src/stream_srv.c
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/stream_cli.c b/src/stream_cli.c
index fa3ac76..0028dcc 100644
--- a/src/stream_cli.c
+++ b/src/stream_cli.c
@@ -873,10 +873,10 @@
return 0;
}
-/*! Set the socket type for the stream server link.
+/*! Set the socket domain for the stream client link.
* Any changes to this setting will only become active upon next (re)connect.
* \param[in] cli Stream Client to modify
- * \param[in] type Socket Domain (like AF_UNSPEC (default for IP), AF_UNIX, AF_INET, ...)
+ * \param[in] domain Socket Domain (like AF_UNSPEC (default for IP), AF_UNIX, AF_INET, ...)
* \returns zero on success, negative -errno on error.
*/
int osmo_stream_cli_set_domain(struct osmo_stream_cli *cli, int domain)
diff --git a/src/stream_srv.c b/src/stream_srv.c
index 366fe64..50efbb8 100644
--- a/src/stream_srv.c
+++ b/src/stream_srv.c
@@ -366,10 +366,10 @@
return 0;
}
-/*! Set the socket type for the stream server link.
+/*! Set the socket domain for the stream server link.
* Any changes to this setting will only become active upon next (re)connect.
* \param[in] link Stream Server Link to modify
- * \param[in] type Socket Domain (like AF_UNSPEC (default for IP), AF_UNIX, AF_INET, ...)
+ * \param[in] domain Socket Domain (like AF_UNSPEC (default for IP), AF_UNIX, AF_INET, ...)
* \returns zero on success, negative on error.
*/
int osmo_stream_srv_link_set_domain(struct osmo_stream_srv_link *link, int domain)
To view, visit change 39775. To unsubscribe, or for help writing mail filters, visit settings.