aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/osmux-test-input.c4
-rw-r--r--examples/osmux-test-output.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/osmux-test-input.c b/examples/osmux-test-input.c
index f560af6..f611dce 100644
--- a/examples/osmux-test-input.c
+++ b/examples/osmux-test-input.c
@@ -148,7 +148,7 @@ int read_cb(struct osmo_dgram *conn)
LOGP(DOSMUX_TEST, LOGL_ERROR, "cannot parse RTP message\n");
return -1;
}
- LOGP(DLINP, LOGL_DEBUG, "received message with RTP payload type: %d\n",
+ LOGP(DOSMUX_TEST, LOGL_DEBUG, "received message with RTP payload type: %d\n",
rtph->payload_type);
if (rtph->payload_type == RTP_PT_AMR)
@@ -170,7 +170,7 @@ int read_cb(struct osmo_dgram *conn)
void sighandler(int foo)
{
- LOGP(DLINP, LOGL_NOTICE, "closing test.\n");
+ LOGP(DOSMUX_TEST, LOGL_NOTICE, "closing test.\n");
osmo_dgram_close(conn);
osmo_dgram_destroy(conn);
osmo_rtp_handle_free(rtp);
diff --git a/examples/osmux-test-output.c b/examples/osmux-test-output.c
index f797f49..5fe2bba 100644
--- a/examples/osmux-test-output.c
+++ b/examples/osmux-test-output.c
@@ -102,7 +102,7 @@ int read_cb(struct osmo_dgram *conn)
return -1;
}
- LOGP(DLINP, LOGL_DEBUG, "received OSMUX message (len=%d)\n", msg->len);
+ LOGP(DOSMUX_TEST, LOGL_DEBUG, "received OSMUX message (len=%d)\n", msg->len);
while((osmuxh = osmux_xfrm_output_pull(msg)) != NULL) {
printf("tx_sched\n");
@@ -115,7 +115,7 @@ int read_cb(struct osmo_dgram *conn)
void sighandler(int foo)
{
- LOGP(DLINP, LOGL_NOTICE, "closing OSMUX.\n");
+ LOGP(DOSMUX_TEST, LOGL_NOTICE, "closing OSMUX.\n");
osmo_dgram_close(conn);
osmo_dgram_destroy(conn);
osmo_rtp_handle_free(rtp);