aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/rtp_proxy.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 07:57:13 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 08:26:12 +0200
commit1ddb356912a8d874d25426ba779cc792189bc798 (patch)
tree30ae21385e083089775a18928490e42de7c9b1e2 /openbsc/src/rtp_proxy.c
parent966de685398b49d483ece1238b95be30fbf34104 (diff)
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
Diffstat (limited to 'openbsc/src/rtp_proxy.c')
-rw-r--r--openbsc/src/rtp_proxy.c7
1 files changed, 6 insertions, 1 deletions
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;