aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend.c
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2018-03-28 15:02:10 +0200
committercbdev <cb@cbcdn.com>2018-03-28 15:02:10 +0200
commita261ab738d4fd5e99a7009da882dde908171f187 (patch)
treead0eb7957bfe5668e604fe2afde5ac98fffcd6f3 /backend.c
parent52cb34c88129145597984913b86321a940fc520a (diff)
downloadmidimonster-a261ab738d4fd5e99a7009da882dde908171f187.tar.gz
midimonster-a261ab738d4fd5e99a7009da882dde908171f187.tar.bz2
midimonster-a261ab738d4fd5e99a7009da882dde908171f187.zip
Elaborate backend error message
Diffstat (limited to 'backend.c')
-rw-r--r--backend.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend.c b/backend.c
index 3ed336d..e9b12df 100644
--- a/backend.c
+++ b/backend.c
@@ -28,6 +28,9 @@ int backends_handle(size_t nfds, managed_fd* fds){
DBGPF("Notifying backend %s of %zu waiting FDs\n", backends[u].name, n);
rv |= backends[u].process(n, fds);
+ if(rv){
+ fprintf(stderr, "Backend %s failed to handle input\n", backends[u].name);
+ }
}
return rv;
}