diff options
Diffstat (limited to 'src/stream_srv.c')
-rw-r--r-- | src/stream_srv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stream_srv.c b/src/stream_srv.c index 1370e42..36e21cc 100644 --- a/src/stream_srv.c +++ b/src/stream_srv.c @@ -834,6 +834,7 @@ void *osmo_stream_srv_get_data(struct osmo_stream_srv *conn) struct osmo_fd * osmo_stream_srv_get_ofd(struct osmo_stream_srv *conn) { + OSMO_ASSERT(conn->mode == OSMO_STREAM_MODE_OSMO_FD); return &conn->ofd; } |