aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream_srv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream_srv.c')
-rw-r--r--src/stream_srv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stream_srv.c b/src/stream_srv.c
index 58ed7ef..b53caab 100644
--- a/src/stream_srv.c
+++ b/src/stream_srv.c
@@ -1073,6 +1073,7 @@ int osmo_stream_srv_recv(struct osmo_stream_srv *conn, struct msgb *msg)
int ret;
OSMO_ASSERT(conn);
OSMO_ASSERT(msg);
+ OSMO_ASSERT(conn->mode == OSMO_STREAM_MODE_OSMO_FD);
switch (conn->srv->sk_domain) {
case AF_UNIX: