aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-09-21 12:29:41 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-09-21 15:45:38 +0200
commit30e01355f68aad6f60b6326ef628d0198401e443 (patch)
tree1b58ede17fe79e776784bdf88ebafed3d04fad59
parent06624e13d4b3e7053e05d1a06d50d056e6eaf478 (diff)
cosmetic: Fix typo in comment
-rw-r--r--src/libosmo-mgcp/mgcp_endp.c3
-rw-r--r--src/libosmo-mgcp/mgcp_msg.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/libosmo-mgcp/mgcp_endp.c b/src/libosmo-mgcp/mgcp_endp.c
index ecb2845a7..9ebdd8e94 100644
--- a/src/libosmo-mgcp/mgcp_endp.c
+++ b/src/libosmo-mgcp/mgcp_endp.c
@@ -641,8 +641,7 @@ int mgcp_endp_claim(struct mgcp_endpoint *endp, const char *callid)
OSMO_ASSERT(false);
}
- /* Make sure the endpoint is released when claiming the endpoint
- * failes. */
+ /* Make sure the endpoint is released when claiming the endpoint fails. */
if (rc < 0)
mgcp_endp_release(endp);
diff --git a/src/libosmo-mgcp/mgcp_msg.c b/src/libosmo-mgcp/mgcp_msg.c
index 4242d3d92..8783e206f 100644
--- a/src/libosmo-mgcp/mgcp_msg.c
+++ b/src/libosmo-mgcp/mgcp_msg.c
@@ -107,7 +107,7 @@ int mgcp_parse_conn_mode(const char *mode, struct mgcp_endpoint *endp,
ret = -1;
}
- /* Special handling für RTP connections */
+ /* Special handling for RTP connections */
if (conn->type == MGCP_CONN_TYPE_RTP) {
conn->u.rtp.end.output_enabled =
conn->mode & MGCP_CONN_SEND_ONLY ? 1 : 0;