aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--midimonster.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/midimonster.c b/midimonster.c
index 9cbc3a9..2087c28 100644
--- a/midimonster.c
+++ b/midimonster.c
@@ -127,6 +127,7 @@ MM_API int mm_manage_fd(int new_fd, char* back, int manage, void* impl){
//find exact match
for(u = 0; u < fds; u++){
if(fd[u].fd == new_fd && fd[u].backend == b){
+ fd[u].impl = impl;
if(!manage){
fd[u].fd = -1;
fd[u].backend = NULL;