examples: use DOSMUX_TEST instead of DLINP in logging messages

This commit is contained in:
Pablo Neira Ayuso 2013-02-19 17:13:37 +01:00
parent 1f43121ef0
commit aeeb4399a2
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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);