From aeeb4399a235e7dd25708adf59b3413133adbed2 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 19 Feb 2013 17:13:37 +0100 Subject: examples: use DOSMUX_TEST instead of DLINP in logging messages --- examples/osmux-test-input.c | 4 ++-- examples/osmux-test-output.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') 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); -- cgit v1.2.3