[Spice-devel] [PATCH spice-server] Do not use possibly undefined SPICE_CHANNEL_TUNNEL
Frediano Ziglio
fziglio at redhat.com
Mon Feb 25 08:37:23 UTC 2019
The channel was removed from the protocol and marked as
obsolete. Potentially will be removed from spice/enums.h
when regenerated.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/utils.c b/server/utils.c
index b440c0648..d2d3669bd 100644
--- a/server/utils.c
+++ b/server/utils.c
@@ -62,7 +62,7 @@ static const char *const channel_names[] = {
[ SPICE_CHANNEL_CURSOR ] = "cursor",
[ SPICE_CHANNEL_PLAYBACK ] = "playback",
[ SPICE_CHANNEL_RECORD ] = "record",
- [ SPICE_CHANNEL_TUNNEL ] = "tunnel",
+ [ 7 /* SPICE_CHANNEL_TUNNEL */ ] = "tunnel",
[ SPICE_CHANNEL_SMARTCARD] = "smartcard",
[ SPICE_CHANNEL_USBREDIR ] = "usbredir",
[ SPICE_CHANNEL_PORT ] = "port",
--
2.20.1
More information about the Spice-devel
mailing list