Fix the hashing function for OSC dispatch

This commit is contained in:
Jean Pierre Cimalando 2020-11-09 08:22:01 +01:00
parent 406afc8aba
commit 92b01eecb2

View file

@ -72,7 +72,7 @@ static uint64_t hashMessagePath(const char* path, const char* sig)
++path;
}
}
h = hashByte(',');
h = hashByte(',', h);
while (unsigned char c = *sig++)
h = hashByte(c, h);
return h;