aboutsummaryrefslogtreecommitdiffstats
path: root/src/mgcp/mgcp_protocol.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-05-08 10:29:23 +0200
committerHarald Welte <laforge@gnumonks.org>2011-05-08 10:29:23 +0200
commitff397edf385cc055fe1665780c3a5395ee9d48be (patch)
treede96bb4800ebc23171d48d25e2b8a1a8c662f188 /src/mgcp/mgcp_protocol.c
parentedfadaeb3d73147a409f0f45afc48f7dc2207853 (diff)
Adopt to recent libosmocore namespace changes and libosmogsm
Diffstat (limited to 'src/mgcp/mgcp_protocol.c')
-rw-r--r--src/mgcp/mgcp_protocol.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mgcp/mgcp_protocol.c b/src/mgcp/mgcp_protocol.c
index a8b5ddf..8e1ddc6 100644
--- a/src/mgcp/mgcp_protocol.c
+++ b/src/mgcp/mgcp_protocol.c
@@ -29,9 +29,9 @@
#include <limits.h>
#include <unistd.h>
-#include <osmocore/msgb.h>
-#include <osmocore/talloc.h>
-#include <osmocore/select.h>
+#include <osmocom/core/msgb.h>
+#include <osmocom/core/talloc.h>
+#include <osmocom/core/select.h>
#include <mgcp/mgcp.h>
#include <mgcp/mgcp_internal.h>
@@ -614,7 +614,7 @@ static struct msgb *handle_create_con(struct mgcp_config *cfg, struct msgb *msg)
return create_response_with_sdp(endp, "CRCX", trans_id);
error:
LOGP(DMGCP, LOGL_ERROR, "Malformed line: %s on 0x%x with: line_start: %d %d\n",
- hexdump(msg->l3h, msgb_l3len(msg)),
+ osmo_hexdump(msg->l3h, msgb_l3len(msg)),
ENDPOINT_NUMBER(endp), line_start, i);
return create_err_response(error_code, "CRCX", trans_id);
@@ -739,7 +739,7 @@ static struct msgb *handle_modify_con(struct mgcp_config *cfg, struct msgb *msg)
error:
LOGP(DMGCP, LOGL_ERROR, "Malformed line: %s on 0x%x with: line_start: %d %d %d\n",
- hexdump(msg->l3h, msgb_l3len(msg)),
+ osmo_hexdump(msg->l3h, msgb_l3len(msg)),
ENDPOINT_NUMBER(endp), line_start, i, msg->l3h[line_start]);
return create_err_response(error_code, "MDCX", trans_id);
@@ -828,7 +828,7 @@ static struct msgb *handle_delete_con(struct mgcp_config *cfg, struct msgb *msg)
error:
LOGP(DMGCP, LOGL_ERROR, "Malformed line: %s on 0x%x with: line_start: %d %d\n",
- hexdump(msg->l3h, msgb_l3len(msg)),
+ osmo_hexdump(msg->l3h, msgb_l3len(msg)),
ENDPOINT_NUMBER(endp), line_start, i);
return create_err_response(error_code, "DLCX", trans_id);