aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2021-06-22 03:29:08 +0200
committercbdev <cb@cbcdn.com>2021-06-22 03:29:08 +0200
commitca055614db57386f0e43d65bb10e501bdde699ef (patch)
treea9c94e89952d952a6a4e6f5cb30105c6aae2b32e /backends
parent68818d94980bfc22d6414ed29d2d9cbb6be24cb1 (diff)
downloadmidimonster-ca055614db57386f0e43d65bb10e501bdde699ef.tar.gz
midimonster-ca055614db57386f0e43d65bb10e501bdde699ef.tar.bz2
midimonster-ca055614db57386f0e43d65bb10e501bdde699ef.zip
Keep channel registry map in sync when updating identifiers (#76)
Diffstat (limited to 'backends')
-rw-r--r--backends/maweb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/maweb.c b/backends/maweb.c
index 39ef7a6..8b878b0 100644
--- a/backends/maweb.c
+++ b/backends/maweb.c
@@ -1111,7 +1111,7 @@ static int maweb_start(size_t n, instance** inst){
//re-set channel identifiers
for(p = 0; p < data->channels; p++){
- data->channel[p].chan->ident = p;
+ mm_channel_update(data->channel[p].chan, p);
}
//try to connect to any available host