From 059c254487fa0c68b0e460cab565dc274404c7bf Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Sat, 27 Dec 2008 09:39:48 +0000 Subject: [PATCH] Fix warning and return an error code --- src/misdn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/misdn.c b/src/misdn.c index dfc3a6541..5dc2d8a55 100644 --- a/src/misdn.c +++ b/src/misdn.c @@ -249,11 +249,13 @@ static int handle_ts1_write(struct bsc_fd *bfd) static int handle_tsX_read(struct bsc_fd *bfd) { /* FIXME: read from a B channel TS */ + return -1; } static int handle_tsX_write(struct bsc_fd *bfd) { /* FIXME: write to a B channel TS */ + return -1; } /* callback from select.c in case one of the fd's can be read/written */