summaryrefslogtreecommitdiff
path: root/apps/midi.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/midi.c')
-rw-r--r--apps/midi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/midi.c b/apps/midi.c
index 5d5fb1a..fa5739b 100644
--- a/apps/midi.c
+++ b/apps/midi.c
@@ -171,7 +171,7 @@ static int midi_handle_in_revents(midi_t* m, struct pollfd *pfds, int npfds, mix
return ret;
}
- return 0;
+ return ret;
}
static int midi_handle_out_revents(midi_t* m, struct pollfd *pfds, int npfds)