aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-06-02 19:04:22 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-06-02 19:04:22 +0200
commit9bdf5a9ef7fb0efe91675cd985a7acc98ed240aa (patch)
tree5901c527fa8ce19f7b5d81bbba839dd5611de393
parente36b48795843bd7961ae264f0a31681ec85a53d0 (diff)
mgcp: Fix a typo in the function name
-rw-r--r--openbsc/src/libmgcp/mgcp_network.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbsc/src/libmgcp/mgcp_network.c b/openbsc/src/libmgcp/mgcp_network.c
index 10f117bf0..9ff29439e 100644
--- a/openbsc/src/libmgcp/mgcp_network.c
+++ b/openbsc/src/libmgcp/mgcp_network.c
@@ -232,8 +232,8 @@ static int send_to(struct mgcp_endpoint *endp, int dest, int is_rtp,
}
}
-static int recevice_from(struct mgcp_endpoint *endp, int fd, struct sockaddr_in *addr,
- char *buf, int bufsize)
+static int receive_from(struct mgcp_endpoint *endp, int fd, struct sockaddr_in *addr,
+ char *buf, int bufsize)
{
int rc;
socklen_t slen = sizeof(*addr);
@@ -264,7 +264,7 @@ static int rtp_data_net(struct osmo_fd *fd, unsigned int what)
endp = (struct mgcp_endpoint *) fd->data;
- rc = recevice_from(endp, fd->fd, &addr, buf, sizeof(buf));
+ rc = receive_from(endp, fd->fd, &addr, buf, sizeof(buf));
if (rc <= 0)
return -1;
@@ -338,7 +338,7 @@ static int rtp_data_bts(struct osmo_fd *fd, unsigned int what)
endp = (struct mgcp_endpoint *) fd->data;
cfg = endp->cfg;
- rc = recevice_from(endp, fd->fd, &addr, buf, sizeof(buf));
+ rc = receive_from(endp, fd->fd, &addr, buf, sizeof(buf));
if (rc <= 0)
return -1;
@@ -389,7 +389,7 @@ static int rtp_data_transcoder(struct mgcp_rtp_end *end, struct mgcp_endpoint *_
int rc, proto;
cfg = _endp->cfg;
- rc = recevice_from(_endp, fd->fd, &addr, buf, sizeof(buf));
+ rc = receive_from(_endp, fd->fd, &addr, buf, sizeof(buf));
if (rc <= 0)
return -1;