From 1ddb356912a8d874d25426ba779cc792189bc798 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 10 Aug 2009 07:57:13 +0200 Subject: [PATCH] rtp_proxy: Add two case and a DEBUG statement.. Handle the case values to make the compiler happy and a runtime warning... This is similiar to other places of the code --- openbsc/src/rtp_proxy.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openbsc/src/rtp_proxy.c b/openbsc/src/rtp_proxy.c index a581b9fdf..59c0735a5 100644 --- a/openbsc/src/rtp_proxy.c +++ b/openbsc/src/rtp_proxy.c @@ -182,7 +182,12 @@ static int rtp_socket_read(struct rtp_socket *rs, struct rtp_sub_socket *rss) msgb_enqueue(&other_rss->tx_queue, msg); other_rss->bfd.when |= BSC_FD_WRITE; break; - /* FIXME: other cases */ + + case RTP_RECV_UPSTREAM: + case RTP_NONE: + /* FIXME: other cases */ + DEBUGP(DMUX, "unhandled action: %d\n", rs->rx_action); + break; } return rc;