mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-12 17:15:21 +00:00
spicevmc: Reduce number of last saved IDs
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Uri Lublin <uril@redhat.com>
This commit is contained in:
parent
00ec69f4fe
commit
7ce225f053
@ -224,7 +224,7 @@ red_vmc_channel_finalize(GObject *object)
|
||||
static RedVmcChannel *red_vmc_channel_new(RedsState *reds, uint8_t channel_type)
|
||||
{
|
||||
GType gtype = G_TYPE_NONE;
|
||||
static uint8_t id[256] = { 0, };
|
||||
static uint8_t id[SPICE_END_CHANNEL] = { 0, };
|
||||
|
||||
switch (channel_type) {
|
||||
case SPICE_CHANNEL_USBREDIR:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user