From 958f5e74ccc3d2e34c8c33325501e928147e6a8e Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 3 Aug 2021 23:00:17 +0200 Subject: [PATCH] rename do_retransmission ...because it does not "do" Change-Id: I5513e0ad15db4a0629f4e0348fc3e84d9972259a --- src/libosmo-mgcp/mgcp_protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libosmo-mgcp/mgcp_protocol.c b/src/libosmo-mgcp/mgcp_protocol.c index 88f1bd026..ba80d7d79 100644 --- a/src/libosmo-mgcp/mgcp_protocol.c +++ b/src/libosmo-mgcp/mgcp_protocol.c @@ -183,7 +183,7 @@ static struct msgb *mgcp_msgb_alloc(void) } /* Helper function for do_retransmission() and create_resp() */ -static struct msgb *do_retransmission(const struct mgcp_endpoint *endp) +static struct msgb *create_retransmission_response(const struct mgcp_endpoint *endp) { struct msgb *msg = mgcp_msgb_alloc(); if (!msg) @@ -414,7 +414,7 @@ struct msgb *mgcp_handle_message(struct mgcp_config *cfg, struct msgb *msg) /* Check if we have to retransmit a response from a previous transaction */ if (pdata.trans && rq.endp->last_trans && strcmp(rq.endp->last_trans, pdata.trans) == 0) { rate_ctr_inc(rate_ctr_group_get_ctr(rate_ctrs, MGCP_GENERAL_RX_MSGS_RETRANSMITTED)); - return do_retransmission(rq.endp); + return create_retransmission_response(rq.endp); } }