From cca1d180f567c83e86aa88ff8d3b9a222562dde2 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Thu, 6 Apr 2023 15:13:39 +0200 Subject: [PATCH] mgcp_network: fix apidoc Change-Id: I358e21e9a9ab33beb07a9adfd4a53145aadb997d --- src/libosmo-mgcp/mgcp_network.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libosmo-mgcp/mgcp_network.c b/src/libosmo-mgcp/mgcp_network.c index ce08dd49e..ea1a699d8 100644 --- a/src/libosmo-mgcp/mgcp_network.c +++ b/src/libosmo-mgcp/mgcp_network.c @@ -1138,12 +1138,11 @@ failed: /*! Send RTP/RTCP data to a specified destination connection. * \param[in] endp associated endpoint (for configuration, logging). * \param[in] is_rtp flag to specify if the packet is of type RTP or RTCP. - * \param[in] spoofed source address (set to NULL to disable). - * \param[in] buf buffer that contains the RTP/RTCP data. - * \param[in] len length of the buffer that contains the RTP/RTCP data. + * \param[in] addr spoofed source address (set to NULL to disable). + * \param[in] msg message buffer that contains the RTP/RTCP data. * \param[in] conn_src associated source connection. * \param[in] conn_dst associated destination connection. - * \returns 0 on success, -1 on ERROR. */ + * \returns 0 on success, negative on ERROR. */ int mgcp_send(struct mgcp_endpoint *endp, int is_rtp, struct osmo_sockaddr *addr, struct msgb *msg, struct mgcp_conn_rtp *conn_src, struct mgcp_conn_rtp *conn_dst)