diff options
author | cbdev <cb@cbcdn.com> | 2021-06-22 03:29:08 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2021-06-22 03:29:08 +0200 |
commit | ca055614db57386f0e43d65bb10e501bdde699ef (patch) | |
tree | a9c94e89952d952a6a4e6f5cb30105c6aae2b32e /midimonster.c | |
parent | 68818d94980bfc22d6414ed29d2d9cbb6be24cb1 (diff) | |
download | midimonster-ca055614db57386f0e43d65bb10e501bdde699ef.tar.gz midimonster-ca055614db57386f0e43d65bb10e501bdde699ef.tar.bz2 midimonster-ca055614db57386f0e43d65bb10e501bdde699ef.zip |
Keep channel registry map in sync when updating identifiers (#76)
Diffstat (limited to 'midimonster.c')
-rw-r--r-- | midimonster.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/midimonster.c b/midimonster.c index 51fe7ad..5817ac7 100644 --- a/midimonster.c +++ b/midimonster.c @@ -346,7 +346,7 @@ static int core_process(size_t nfds, managed_fd* signaled_fds){ size_t u, swaps = 0; //run backend processing, collect events - DBGPF("%lu backend FDs signaled\n", nfds); + DBGPF("%lu backend FDs signaled", nfds); if(backends_handle(nfds, signaled_fds)){ return 1; } @@ -354,7 +354,7 @@ static int core_process(size_t nfds, managed_fd* signaled_fds){ //limit number of collector swaps per iteration to prevent complete deadlock while(routing.events->n && swaps < MM_SWAP_LIMIT){ //swap primary and secondary event collectors - DBGPF("Swapping event collectors, %lu events in primary\n", routing.events->n); + DBGPF("Swapping event collectors, %lu events in primary", routing.events->n); for(u = 0; u < sizeof(routing.pool) / sizeof(routing.pool[0]); u++){ if(routing.events != routing.pool + u){ secondary = routing.events; |